+ 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 :/

17th Sep 2017, 12:31 AM
Dapper Mink
Dapper Mink - avatar
11 Antworten
+ 8
This post made my morning😂 Thank you😂
17th Sep 2017, 3:53 AM
Koketso Dithipe
Koketso Dithipe - avatar
+ 8
Ok. Thank
28th Oct 2017, 9:25 AM
Mattéo
+ 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.
28th Oct 2017, 9:21 AM
Dapper Mink
Dapper Mink - avatar
+ 6
Thank you to you Samaritan!!!
17th Sep 2017, 7:03 AM
Dapper Mink
Dapper Mink - avatar
+ 5
I saw and signed it!! But thank you for sharing it in SoloLearn!!!
1st Oct 2017, 8:50 AM
Dapper Mink
Dapper Mink - avatar
+ 3
Yeah, that is a bad joke 😢
17th Sep 2017, 12:47 AM
Rick
Rick - avatar
+ 3
Lol
17th Sep 2017, 3:52 AM
Benneth Yankey
Benneth Yankey - avatar
+ 3
Who's Ben? And how can I chat with him?
30th Sep 2017, 6:55 AM
Dapper Mink
Dapper Mink - avatar
+ 3
Slt, comment tas eu ke freeCodeCamp ?
28th Oct 2017, 9:16 AM
Mattéo
+ 2
Ben would like to chat with you privately ,
30th Sep 2017, 5:59 AM
klicks
klicks - avatar