Different Ways to iterate through Object … On July 22, 2020November 26, 2020 by Amitav Mishra There several ways available in JavaScript to loop arrays and objects. For examples: for loop, for
What are preventDefault() and stopPropag … On July 22, 2020July 10, 2022 by Amitav Mishra The preventDefault() method cancels the event or stop the browser from showing the default behavior
What are call(), apply() and bind() in J … On July 21, 2020November 7, 2020 by Amitav Mishra In JavaScript this refers to the owner object. If you want to attach some extra properties to a
Exploring typeof operator and perform ty … On July 15, 2020November 7, 2020 by Amitav Mishra The typeof operator is used to check the type of a given value. It is very much helpfull while
How to check for null and undefined valu … On July 15, 2020November 7, 2020 by Amitav Mishra while performing some operation on null and undefined datas, then errors are thrown and which may
Different use of innerText and innerHTML On July 15, 2020November 8, 2020 by Amitav Mishra The innerText property sets or returns the text content of an element whereas The innerHTML
Differences between undeclared, undefine … On July 14, 2020July 10, 2022 by Amitav Mishra When a variable is not declared with the keywords like var, let or const, then it is undeclared.
Difference between Shallow copy and Deep … On July 13, 2020November 8, 2020 by Amitav Mishra When we assign any object to a variable it passes the reference to the respective object. So if we