DEV Community

Discussion on: 5 interesting and not-necessarily-useful Javascript tricks

Collapse
 
adam_cyclones profile image
Adam Crockett πŸŒ€

I respect this but respectfully it's all horrible.

The one I like because it makes me think, is the switch, what if we didn't have if statements, or better yet, what if statements where expressions too.

The bind destructure, that's strange because you create a copy when you destructure, the rebind make me think is it even worth it? And the lambda class that's not even valid yet?

Collapse
 
areknawo profile image
Arek Nawo

That’s why I call them tricks.

Collapse
 
adam_cyclones profile image
Adam Crockett πŸŒ€

I meant no offense if any was taken.

Thread Thread
 
areknawo profile image
Arek Nawo

No, no - you get me wrong. I understand your opinion and mostly agree with it. No offense. Maybe it’s the dot at the end of the sentence. πŸ˜…

Thread Thread
 
adam_cyclones profile image
Adam Crockett πŸŒ€

How dare you correctly format a sentence haha!