News for hackers. Stuff that matters.
Re:Douglas Crockford on Fat Arrow Functions in JavaScript by mattbriggs on Saturday March 31, 2012 @12:47PM (#3780748)
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 ()=>{}

Re:Douglas Crockford on Fat Arrow Functions in JavaScript by starwed on Saturday March 31, 2012 @05:14PM (#3781559)
This is not just about syntax. Unless using bind somehow grants the mentioned property that

>"Fat arrow functions do not have prototype properties, which makes them cheaper to make. They are immutable."

Re:Douglas Crockford on Fat Arrow Functions in JavaScript by mattbriggs on Saturday March 31, 2012 @06:58PM (#3781835)
granted, but that sounds more like a micro optimization rather then significantly changing the behavior of the language