Неправильный ответ в тесте | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Неправильный ответ в тесте

Есть задача с выводом результата console.log(obj2.c, obj2.d). Здесь ответ 46 в браузере выводится 4 6.

26th Aug 2019, 11:49 AM
ZEkA10000
ZEkA10000 - avatar
1 Answer
0
You are quite right. Chrome allows using comma (,) to separate arguments to console.log function. SoloLearn code playground doesn't, and need us to use + operator for string concantention. You are right. You can use the report button to submit your comment, or send email to info@sololearn.com
26th Aug 2019, 4:07 PM
Gordon
Gordon - avatar