DEV Community

Discussion on: 24 modern ES6 code snippets to solve practical JS problems

Collapse
 
cyberhck profile image
Nishchal Gautam

These are the worst piece of advice I saw, sorry, I'm just being honest. You have toggle already, you wanna wrap that, just use the original method, why not use setTimeout instead of delay? Use fetch to post to a url, just use remove event listener to remove, following these, people will have to learn new functions instead of using normal Javascript

Some of them might be useful, but I found most of them to be nonsense.