- The users of this style guide will probably expect that all of the rules that it prescribes will be enforced by eslint. However, this is not the case - there is a secret, non-documented segmentation where some rules are enforced and others are not, because they would be "too noisy on a legacy codebase". An example of a problematic rule like this is covered in issue #2020. I propose that all of
arrow-functions
Here are 94 public repositories matching this topic...
Improve docs
I opened this issue to discuss how can we improve the docs.
It's very valuable the input from users, as I have a deep knowledge of the library already, so my view doesn't help a lot.
We can start compiling a list of things we need to add, like another tutorial, some how-to sections, a better readme or doc home page and so on.
-
Updated
Feb 27, 2020
It'd be nice if we could include the functions x => f(x) under the definition of trivial. For example, if we want to call Array.map(x => f(x)) sometimes there are optional extra parameters of f that don't necessarily coincide with the parameters Array.map passes, and you need to delegate like this.
Another good example is for delegations that use methods, e.g. x => x.f().
Also cons
-
Updated
Apr 11, 2018
const rectangle = {
width: 20,
height:10,
area: 200
}
let {width, heigh, area, perimeter = 60} = rectangle;
console.log(width, height, area, perimeter) //20 10 200 60
//Lets modify the object:width to 30 and perimeter to 80
const rectangle = {
width: 30,
height:10,
area: 200,
perimeter:80
}
let {width, heigh, area, perimeter = 60} = rectangle;
console.log(width
-
Updated
Apr 17, 2020
-
Updated
Jun 28, 2019 - JavaScript
-
Updated
Mar 11, 2019 - JavaScript
-
Updated
Jul 13, 2018 - HTML
-
Updated
Oct 24, 2018 - JavaScript
-
Updated
Mar 12, 2020 - PHP
-
Updated
Sep 9, 2019 - TypeScript
-
Updated
Dec 2, 2019
-
Updated
Apr 24, 2017 - JavaScript
-
Updated
Oct 19, 2017 - C++
-
Updated
Mar 9, 2019 - Shell
-
Updated
Jan 22, 2018 - JavaScript
-
Updated
Jul 9, 2018 - JavaScript
-
Updated
Jul 8, 2019 - JavaScript
-
Updated
Feb 20, 2018 - JavaScript
-
Updated
May 15, 2017 - JavaScript
-
Updated
May 11, 2020 - PHP
-
Updated
Nov 9, 2019 - HTML
-
Updated
Apr 4, 2020 - TypeScript
-
Updated
Apr 4, 2020 - JavaScript
-
Updated
Jul 13, 2018 - JavaScript
Improve this page
Add a description, image, and links to the arrow-functions topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the arrow-functions topic, visit your repo's landing page and select "manage topics."