18/10/2021
New Series! JavaScript Pro Tips. Learn how to write solid modern JavaScript and avoid bad code from the olden days.
In this session, you will learn 4 javascript tips for shorter code -
1. Short Circuiting
2. Check if objects exist using ? operator
3. Using Nullish coalescing operator (??)
4. Terminating the function instead of if-else nesting
I have shared some great real-world coding examples
Advantages for writing a shorter code -
- Reduce the weight of your Web page
- Enhance the performance of your application.
- Improve the code quality.
- Makes you a better coder.
https://youtu.be/0g4K4oYQsEQ
New Series! JavaScript Pro Tips. Learn how to write solid modern JavaScript and avoid bad code from the olden days.In this session, you will learn 4 javascri...