News for hackers. Stuff that matters.
Re:Destructuring Assignment in ECMAScript 6 by ptgloden on Thursday August 15, 2013 @03:56PM (#6220181)
In ES6, you can write more terse immediately invoked function expressions. So you could use

  var a = (prop => prop > 5 ? prop : whatever)(objImUsing.prop.someLongName)
rather than

  var a = (function (prop) { return prop > 5 ? prop : whatever })(objImUsing.prop.someLongName)

There are no comments on this comment yet.