+ 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?
1 Resposta
+ 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