Why is Javascript so weird. Understanding Javascript Coercion
Observe this behaviour "0" == false; // true "0" == ""; // false false == ""; // true "" == []; // true false == []; // true "" == {}; // false "true" == true; ...

Search for a command to run...
Articles tagged with #javascript
Observe this behaviour "0" == false; // true "0" == ""; // false false == ""; // true "" == []; // true false == []; // true "" == {}; // false "true" == true; ...

Due to the rise in popularity of Artificial intelligence, concerns rightly so, have risen about the intelligence of machines and even the possibilities of its sentience. Although it may seem so, we all know one thing for sure: Computers need electric...

The this keyword in JavaScript is used as a reference to the scope of the current execution context. What this means is that it represents an environment that contains the code that is currently running and everything that aids in it’s execution. Thi...

Object oriented programming is a computer programming pattern that organizes software design around objects and classes rather than function or logic. Objects store data in the form of properties and logic(functions) as methods. Classes are the blue...

Mistakes and failures are an integral part of programming and life in general. Usually, after a mistake in life, we dust ourselves up and try again, but it is hardly so in the world of programming. In JavaScript, when our engine runs into an error ...

JavaScript is single threaded which makes it inherently synchronous, This means code runs line by line on one core of the processor. However if you have functionality that needs to wait on something such as opening a file, a web response or other act...
