0
javascript false?
why is the answer to this code āfalseā ? i thought it was true... š© var a= {value: 20); var b = {value:20); alert(a==b);
5 Answers
+ 1
Here is the answer:
https://code.sololearn.com/W02yt732nwTC/?ref=app
+ 1
The answer is false because a and b are references to two memory address where the value of objects are stored. The addresses are different so the result is false
0
what do i have to type in order to get a true result?
0
thank you so much!!! š
0
Welcome