why is this happening? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

why is this happening?

And how can I use it? https://code.sololearn.com/WKCPoWmpL3Vc/?ref=app output: [object Object]

17th Apr 2020, 12:11 PM
Demon EVDK
Demon EVDK - avatar
3 Answers
+ 1
Because you are printing the object. To check keys in object use Object.keys(rope) To check values use Object.values(rope) To access keys and values: for (let [key, value] of Object.entries(rope)) { var key1 = key; var value1 = value; }
17th Apr 2020, 5:14 PM
A͢J
A͢J - avatar
0
...
17th Apr 2020, 10:37 PM
Demon EVDK
Demon EVDK - avatar
0
GAMER ......
17th Apr 2020, 11:53 PM
U E B U N T U