+ 11
How to check objects equality?
Hello, I've tried the following code but it didn't work: var Michelle = { kindness:98, helpful:99 }; var Jayke = { annoying:++9000, trolling:100 }; if(Michelle === Jayke){ ban(Michelle); }else{ compliment(Michelle); } Can anyone tell me what I did wrong? It keeps returning true for this obvious inequality :/
11 Réponses
+ 8
This post made my morning😂
Thank you😂
+ 8
Ok. Thank
+ 7
Sending this here is completely off topic, sorry, use any post I've made but not this one please!!
Also you need to update your version of SoloLearn, go in the settings and link your freeCodeCamp account.
Envoyer ça ici est complètement hors sujet, désolé, utilise n'importe quel post que j'ai fait mais pas celui ci s'il te plait.
Sinon tu as besoin de mettre à jour ta version de SoloLearn, aller dans les paramètres et lier ton compte freeCodeCamp.
+ 6
Thank you to you Samaritan!!!
+ 5
I saw and signed it!! But thank you for sharing it in SoloLearn!!!
+ 3
Yeah, that is a bad joke 😢
+ 3
Lol
+ 3
Who's Ben? And how can I chat with him?
+ 3
Slt, comment tas eu ke freeCodeCamp ?
+ 2
Ben would like to chat with you privately ,