#javascript
Read more stories on Hashnode
Articles with this tag
In JavaScript, one of the quirks that has puzzled developers for decades is the fact that: console.log(typeof null); // Outputs: "object" This...
Event delegation is a technique in JavaScript that allows you to handle events at a higher level in the DOM than the target element. Instead of adding...
Asynchronous operations (eg. fetching data from an API) In JavaScript, you can handle asynchronous operations, such as fetching data from an API,...
In JavaScript "==" and "===" are both used for comparing values. Heres the difference between the two: \==(Equality Operator): The '==' checks for...
In Java Script closure is a combination of a function and the lexical environment within which that function has declared. This environment consists...
Cross-browser compatibility is the ability of a website or web application to function across different browsers and degrade gracefully when browser...