0

False ??

Why the answer is false ?? https://www.sololearn.com/post/914981/?ref=app

2nd Feb 2021, 11:21 AM
Carbon dioxide
Carbon dioxide - avatar
5 Respostas
+ 4
Because in js object can't be compared . comparing 2 objects always return false though they have same property & same value .
2nd Feb 2021, 11:39 AM
TOLUENE
TOLUENE - avatar
+ 4
Jeff's JK (HTML challenger and the coders 💻)🇮🇩 var a =[1,2,3]; var b=[1,2,3]; alert(a==b);//false a=b; alert(a==b);//true
2nd Feb 2021, 12:58 PM
TOLUENE
TOLUENE - avatar
+ 1
Hmm ... -_- Always false ??
2nd Feb 2021, 12:05 PM
Carbon dioxide
Carbon dioxide - avatar