5 Ninja Tips for writing JavaScript as a Pro

1. Stop checking if something is greater than 0.


2. Stop using single if condition, prefer to write it in one single line


3. Stop using if to conditionally add keys in object, prefer de-structuring


4. Stop using too many conditions in if , use includes instead


5. Prefer using boolean result wherever possible using !!

