What you said is almost correct, you just need to use obj[user].online
, without dot before the square bracket
haha yes sorry typo on my side
thanks so much for all the help! i learnt alot about objects just from this challenge
1 Like