From 7721bf68b37ff9acdf3a95c3ae7fdc9afbb25707 Mon Sep 17 00:00:00 2001 From: Konrad Hyzy Date: Wed, 24 Oct 2018 22:52:59 +0200 Subject: [PATCH] Sentences made more formal (#28109) --- guide/english/javascript/es6/arrow-functions/index.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/guide/english/javascript/es6/arrow-functions/index.md b/guide/english/javascript/es6/arrow-functions/index.md index 5f71ae4da3..3b784ce163 100644 --- a/guide/english/javascript/es6/arrow-functions/index.md +++ b/guide/english/javascript/es6/arrow-functions/index.md @@ -4,7 +4,7 @@ title: Arrow Functions ## Arrow functions -Functions in ES6 have changed a bit. I mean the syntax. +ES6 has introduced a new syntax that allows to declare functions. ```javascript // Old Syntax @@ -21,8 +21,7 @@ const newOne = () => { const newOne = () => console.log("Hello World..!"); ``` -The new syntax may be confusing a little bit. But I will try to explain the syntax. -There are two parts of the syntax. +The new syntax may be confusing. There are two major parts of it. 1. const newOne = () 2. => {} @@ -61,7 +60,3 @@ axios.get(url).then(response => { }); ``` - - - -I don’t think I need to give an explanation for this. It's straightforward.