-
https://github.com/fack2/Dictionary-Giphy-App/blob/39e6b5004a4a7c48fe14c52a59feb453b8f3c4fa/public/js/dom.js#L32
use arrow functions for all function definitions
-
### Expected behaviour
Karma should allow ES6 arrow functions for a middleware factory. It should behave the same as if a traditional function was passed.
### Actual behaviour
Karma throws "C…
-
Arrow functions are a fairly recent addition to javascript, we should try and avoid them for the client side code as it will not run on older browsers. Essentially any browser only a few versions back…
-
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 …
-
This got lost in the noise somewhere while applying biome linting etc.
There was at one point an issue with events not working properly in popouts. This was at one point (recently) fixed by being m…
-
### Describe the enhancement requested
Currently, there is no definitive standard for decimal NaN encoding in the industry, and Arrow does not support decimal NaN values. Is it possible to support de…
-
## 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…
-
We often use createDelegate(this) in JavaScript so that the current object inside a function is the one where the function was declared. This is a peculiarity of JavaScript because `this` is not lexic…
-
Currently, I can only use execjs to run my JavaScript methods because they heavily rely on arrow functions. The error message from js2py states:
'JsException: SyntaxError: Line 524: ArrowFunction is…