-
The code will stay easier to read, less SLOC
-
### 🔍 Search Terms
- arrow function
- return type
- type error position/range
### ✅ Viability Checklist
- [X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
- [X…
-
Should the [qunit/no-arrow-tests](https://github.com/platinumazure/eslint-plugin-qunit/blob/master/docs/rules/no-arrow-tests.md) rule also catch modules with arrow functions? Or should we have a new s…
-
### Prerequisites
- [X] I checked the documentation and FAQ without finding a solution
- [X] I checked to make sure that this issue has not already been filed
### Expected Behavior
v3.2.0 should ha…
-
**Please describe what has to be done**
Much to my personal dismay (I don't like them, I'm old school), arrow functions (the ones like `funcname = () => { }`) apparently do the binding automatically …
-
# Understanding Arrow Functions in JavaScript | Tania Rascia
This article was originally written for DigitalOcean. Introduction The 2015 edition of the ECMAScript specification (ES6) added arrow…
[h…
-
ES6 arrow function has a simple syntax. Also, we don't need to bind this for every function within the code if we use the arrow function instead of regular function.
-
Preferably as a language extension.
Even I'm getting tired of writing
my squares = values.map(sub (v) { return v * v });
when I could instead write
my squares = values.map(v => v *…
masak updated
6 years ago
-
Currently the plugin will respond with a syntax error message if there are ES6 contructs in the code like fat arrow functions
-
![screen shot 2017-09-29 at 8 24 42 pm](https://user-images.githubusercontent.com/97021/31039465-3eb3f594-a554-11e7-808b-015969c46843.png)