typeof operator returns a string as a result giving the type of an operand. Syntax: typeof operand or, typeof(operand) NUMBER: typeof 11 ---------------- 'number'; typeof(11) --------------- 'number'; typeof(11.11)-------------- 'number'; typeof...
Tag: javascript
Difference between == and === operator in javascript
Every js developer knows that == compares value while === checks for value and type. This article is also going to say that but in a little comprehensive way. Moreover,...
Javascript Interview #4: How do you import one JS file into another in the plain JS?
I was asked this question casually in an interview and I really had no idea because once I needed it and I simply included two files in HTML file and...
JavaScript Interview #3: What is cookies and Third-party cookies?
Cookies, Local Storage, Session Storage, and Session is a favorite topic for Interviews. It's not possible to include all so this is just about cookies. I will post another article...
JS interview #1: Closure and its Application in the easiest way possible.
+1 like for your willingness to learn closure. Closures can seem really daunting, to begin with, I know they were for me. Once you get the hang of them, you'll...
JS Interview #2 : Event Bubbling and Capturing in the easiest way possible
There are a lot of questions and trouble about event handling that new web developers fall into not because they don't know about event handling rather they don't understand how...
Recent Comments