This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | [ES6] Convert normal function to arrow function and vice versa | ||
---|---|---|---|
Product: | javascript | Reporter: | Christian Lenz <chrizzly> |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Other | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Christian Lenz
2016-07-13 08:58:11 UTC
Do you mean in all situations or in certain cases? Good question and I thought about that too, maybe only in normal functions? As for callbacks var t = function(() => 3); or here [].map(item => console.log(item)); not in each case. I think it could be possible in each case and you as a developer can choose whether it makes sense or not. |