initLogs 1: Swapping Numbers and Reversing Arrays in JavaScript
How to swap and reverse arrays in JavaScript
Search for a command to run...
Series
initLogs is where I will explain code newbie things about JavaScript or programming in general. The idea is to share something that I have seen in a different way or things that are not talked enough.
How to swap and reverse arrays in JavaScript
If statement is one of the conditional statements in JavaScript. But if is not the most commonly used conditional statement, at least not when you are new to JavaScript. That would be the if-else or nested if else statement. As a person who is new to...
I just read a reddit post. It was about someone who's colleague writes complex code over simple code. Unnecessarily I should add. At least as per the post. But that is when it struck me. The reason for writing simple code is the same as it is for sim...