2
votes
Is there any reason to use the "var" keyword in ES6?
There is exactly one reason that I'm aware of to use var in current JavaScript code: For highly performance-sensitive code, it can avoid the performance overhead of the temporal dead zone.
The ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
javascript × 2127web-development × 177
node.js × 143
html × 142
jquery × 121
design-patterns × 110
php × 108
web-applications × 93
design × 81
architecture × 76
css × 76
java × 72
html5 × 66
ajax × 65
object-oriented × 61
angularjs × 61
c# × 56
python × 56
functional-programming × 50
unit-testing × 49
coding-style × 45
programming-practices × 42
programming-languages × 42
security × 42
performance × 42