8 JavaScript Tricks - Must Know

3 years ago
112

New javascript syntaxes that you can effectively do less code. Also introduction of new ES syntaxes.
Overview
1. Ternary operator
2. Array/object destruction
3. Short for loop
4. Template literals
5. Object with identical keys and values
6. === and ==
7. Spread operator
8. Array methods

Loading comments...