JS things I didn’t know existed
Interesting read. I quite like the pipe operator as I think it would make a lot of code easier to read.<p>I would caution people against using some of these &quot;features&quot; though as writing clever code that leverages obscure techniques is NOT good for readability and maintainability.<p>The person who has to maintain your code will probably be able to more easily grok some boring if else statements than some weird ternary thing that leverages the comma operator.<p>Just because you can doesn&#x27;t mean you should.