from Hacker News

7 JavaScript hacks for ES6 hipsters

by tal_berzniz on 11/30/17, 9:23 PM with 5 comments

  • by ng12 on 11/30/17, 10:30 PM

    Why are these "hipster hacks"? They're really important language features everyone should be using.

    Side note: has anybody ever had to actually swap variables in production code? I thought it was just a fizzbuzz interview question.

  • by ix-hispana on 12/1/17, 10:12 AM

    The ...thing still feels like magic to me.

    The rest are pretty common, I would not consider reduce() or passing an object to a function instead of separate arguments hipster hacks at all. "Options" objects are ubiquitous in corporate SDKs like AWS and Azure. They are the opposite of hipster.