Convenient and useful techniques to reduce the lines of code and pace up your Dev Work!
In our daily tasks, we get to write functions such as sorting, searching, finding unique values, passing parameters, swapping values etc, so here I present my list of shorthand techniques to write all of them as a Pro!✌🏻
These approaches will definitely help you in:
- Reducing the number of LOC(lines of code),
- Coding Competitions,
- Hackathons or
- Other time bound tasks.⏱
Note: All below tricks have been tested on the Console of Google Chrome.