|
|
|
|
|
by mattbriggs
5190 days ago
|
|
the this keyword still works exactly the same, just a terse syntax for functions and for function binding to the current scope. currently, function(){} is the exact same as the proposed ()->{}, and (function(){}).bind(this) is the exact same as ()=>{} |
|
>"Fat arrow functions do not have prototype properties, which makes them cheaper to make. They are immutable."