In this post, Iโll talk about some shortcut idioms that are used often, basic at their core, and fairly interesting. Have your own JS idioms that you want to share? I started a collaborative repo on github: https://github.com/mrjoelkemp/js-idioms Branching with Inline assignment if (foo = doSomething()) {} The quick explanation of how this works is...
Read More