+ 2

log specific objects

https://code.sololearn.com/WvwNL1rZ081G/?ref=app How can I make getPainting functions to return Mona Lisa and Starry Night respectively?

6th Sep 2020, 5:58 PM
Boyan Ivanov
Boyan Ivanov - avatar
1 Antwort
+ 3
Line 28 and 36: when you return an object, here in sololearn stringify it, using JSON.stringify() return JSON.stringify(paintings[i]) https://code.sololearn.com/WgSrgtaro6N3/?ref=app
6th Sep 2020, 6:02 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar