Just came across this ES6 code on Babel's website. Some people are even saying it can be used to troll coworkers. :D
const two = 2;
const one = 1;
if (one => two) {
alert('whoops!');
}
What do you think of this? Is this some weird usage of arrow functions?
No responses yet.