Categories
Codes Javascript

Use This Instead Of If-Else and Switch-Case in JavaScript

Sometimes, you will meet cases where there’s too much if-else. Then, you would use switch-case. But it’s still too much. Is there another way? In JavaScript, there is. Read more to find out.

Categories
Codes Javascript

20 JavaScript Tricks You Might Not Know Yet

JavaScript is an ever evolving language that it gives the programmers some creativity to code more elegantly the more it updates. Here are some of the tricks you can apply.