Update Higher-Order Arrow Functions code challenge (#34414)
* fix: update text of Write Higher Order Arrow to be more instructive * fix: update tests and code to be more simple. Edit typos in text part. Prepare for PR * fix: further changes to PR * fix: checkout old head. Merge later commit with older commits * fix: add MDN links to arrow-functions guide * fix: re-add removed log and change working in guide wording * Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/write-higher-order-arrow-functions.english.md Yep Co-Authored-By: chrisdel101 <arssonist@yahoo.com> * Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/es6/write-higher-order-arrow-functions.english.md Removing unneeded line for clarity Co-Authored-By: chrisdel101 <arssonist@yahoo.com>
This commit is contained in:
@ -4,8 +4,7 @@ title: Arrow Functions
|
||||
|
||||
## Arrow functions
|
||||
|
||||
ES6 has introduced a new syntax that allows to declare functions.
|
||||
|
||||
ES6 has introduced a new syntax for defining a function.
|
||||
```javascript
|
||||
// Old Syntax
|
||||
function oldOne() {
|
||||
@ -68,3 +67,4 @@ axios.get(url).then(response => {
|
||||
});
|
||||
|
||||
```
|
||||
For more information on arrow functions visit [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions).
|
||||
|
Reference in New Issue
Block a user