Skip to content

Commit d9b1889

Browse files
authored
100 questions
100 questions
1 parent 43c9454 commit d9b1889

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

100Questions/100_JS_Que

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
let a = [];
2+
let b = [];
3+
console.log(a==b); //false
4+
console.log(a===b); //false
5+
//Explaination : Here we are comparing memory location, not an array. Memory location of 2 arrays are not same.
6+
--------------------------

0 commit comments

Comments
 (0)