Explain difference between == and ===?
Submitted by: MuhammadThis is pretty simple but at the same time some people never came across a triple equals or never wondered what's the difference.
Double equals == is used to compare the value of two operands:
"2" == 2; // true
2 == 2; // true
Triple equals === is used to compare the value AND type of two operands:
"2" === 2; // false
2 === 2; // true
Submitted by: Muhammad
Double equals == is used to compare the value of two operands:
"2" == 2; // true
2 == 2; // true
Triple equals === is used to compare the value AND type of two operands:
"2" === 2; // false
2 === 2; // true
Submitted by: Muhammad
Read Online Front End Developer (AngularJS) Job Interview Questions And Answers
Top Front End Developer (AngularJS) Questions
☺ | What is AngularJS? What are the key features of AngularJS? Is there any down-side of using AngularJS? |
☺ | What is an IIFE? |
☺ | Explain me your workflow when you create a web page? |
☺ | How can you add a method to a class already defined? |
☺ | Why is this project called "AngularJS"? Why is the namespace called "ng"? |
Top Scripting language Categories
☺ | AngularJS Interview Questions. |
☺ | Ext-JS Interview Questions. |
☺ | Dojo Interview Questions. |
☺ | Expert Developer JavaScript Interview Questions. |
☺ | jQuery Mobile Interview Questions. |