Understanding JavaScript Scope and the use of scope in JavaScript with code examples. Here we will also discuss about different types of scope like - global scope, local scope, block scope, function scope, lexical scope and private and public scope. (more…)
Read more »
Lots of people treat the ternary operator with suspicion. At first glance, ternaries appear unnecessary. Nothing more than a tool for the overly clever to trim some characters from their code. A favourite hack for coders who don’t care about readability. ... (more…)
Read more »
CSS is powerful, you can do a lot of things without JS. - you-dont-need/You-Dont-Need-JavaScript... (more…)
Read more »
Q: How to implement object magic which has the following behavior? const magic = {}; console.log(2... (more…)
Read more »