diff --git a/es6.md b/es6.md index c8e8913e5..863ee3ce3 100644 --- a/es6.md +++ b/es6.md @@ -201,7 +201,14 @@ Like functions but with `this` preserved. ```js // Fat arrows setTimeout(() => { - console.log('hi'); + ... +}); +``` + +```js +// With arguments +readFile('text.txt', (err, data) => { + ... }); ```