-
It's not uncommon for a component to take as input a transformation function or predicate function.
For example, [this PR for `@angular/forms`](https://github.com/angular/angular/pull/13349) adds …
-
## Expected behavior
I can type `() => {}` or any other valid JS ES6 arrow function and strict mode will allow me to type the `>` without matching it with a `
-
https://github.com/HaxeFoundation/haxe-evolution/blob/master/proposals/0002-arrow-functions.md
-
```
The following should be syntax errors but are not:
(foo) => { var foo; }
(foo) => { let foo; }
(foo) => { const foo; }
(foo, ...foo) => { }
(foo, foo = 5) => { }
(eval) => { }
(arguments) => { }
…
-
_Original author: dome...@domenicdenicola.com (March 04, 2013 05:57:28)_
The following should be syntax errors but are not:
(foo) => { var foo; }
(foo) => { let foo; }
(foo) => { const foo;…
-
This does not work:
var f = () => true
-
### Prerequisites
* [x] Put an X between the brackets on this line if you have done all of the following:
* Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/secti…
-
`VarDumper::exportClosure()` not support arrow functions:
~~~php
$f = fn($x) => $x + 10;
VarDumper::export($f);
~~~
### Additional info
| Q | A
| ---------------- | ---
|…
-
## Is your feature request related to a problem?
Not really. It's more of a "nice to have". I'd like phpcbf to format my arrow functions from this:
```php
$ids = array_map(fn($entity) => $entit…
-
This works correctly:
```tsx
let a = ( a: T ) => {
}
```
But this does not:
```tsx
let a = ( a: T ) => {
}
```