The correct answer is false. This is because array references are unique. These are two separate arrays that may contain unique data. For more JavaScript tips & tricks 👉 https://youtu.be/ZI3q-_vjSZE
4 years ago | 32
The correct answer is false Because two array are always has different location address. And also has different references.
4 years ago
| 10
I reasoned it was false not because of unique references. I reasoned arrays are considered objects in javascript not normal datatypes like string or number. And 2 objects never are the same, not even when they are instances of the same class. I doubt whether being unique references even is a solid argument for the expression to evaluate to false. The following expression, given first = 1 and second = '1' evaluates to true although both reference different things: first == second. Or is this false also?
4 years ago | 1
False because if the answer would have been true, this wouldn't have been a question.
4 years ago
| 2
Damn, out of head in mid of night i thought double equals will go true... cuz JavaScript, you never know
4 years ago | 1
codeSTACKr
In JavaScript, what does the following expression evaluate to?
[ ] == [ ]
For more JavaScript tips & tricks 👉 https://youtu.be/ZI3q-_vjSZE
4 years ago | [YT] | 117