-
This is a wish-list feature request to support async functions, async arrow functions, `await` as specified at https://www.ecma-international.org/ecma-262/#sec-async-function-definitions and https://w…
-
与let,const一样,对箭头函数的掌握也一直是模棱两可,因此需要深入学习一下,mdn的Arrow Functions就是很好的学习资料,除了阅读文档,我也会加入一些自己的思考。
-
They currently always get transpiled due to the Babel plugin that's required to make them work.
c.f.: https://github.com/facebook/regenerator/issues/230#issuecomment-268355691
-
Arrow functions cannot be safely used in providers or services, because these types are intended to be invoked with the `new` operator, and expect to have their own value of `this`.
We should discour…
-
Currently calling a method in a directive requires having to re-bind the context, which is a little redundant.
``` twig
Run method
```
It'd be nice if it could support arrow functions, and allow for…
-
The language team discussed, but did not yet commit to, the following change:
```dart
void f() => e; // Static type of `e` can be anything.
// Is syntactic sugar for:
void f() { e; }
g() => e…
-
Hi! Thank you for the great project. This issue is regarding the "Docs" feature of the JSR website.
Our project prefers to use the arrow function style to define functions rather than using the `fu…
-
Input:
```
a => {
return new Promise((resolve, reject) => {
setTimeout(() => resolve(a * 2), 500);
});
}
```
Expected output:
`['a']`
Output:
`[ '(resolve', 'reject' ]`
Other things I tr…
-
honesty box: I am not great at knowing the difference between ES5/ES6 :blush:
line 37 of logic.js is `return todos.filter(todo => todo.id !== idToDelete);` - are arrow functions new to ES6, and as …
-
https://github.com/fack2/Dictionary-Giphy-App/blob/39e6b5004a4a7c48fe14c52a59feb453b8f3c4fa/public/js/dom.js#L32
use arrow functions for all function definitions