diff --git a/guide/english/javascript/es6/arrow-functions/index.md b/guide/english/javascript/es6/arrow-functions/index.md index c934f84582d..5f71ae4da3c 100644 --- a/guide/english/javascript/es6/arrow-functions/index.md +++ b/guide/english/javascript/es6/arrow-functions/index.md @@ -16,6 +16,9 @@ function oldOne() { const newOne = () => { console.log("Hello World..!"); } + +// Or on one line +const newOne = () => console.log("Hello World..!"); ``` The new syntax may be confusing a little bit. But I will try to explain the syntax.