Could someone explain me how this code works line to line? Thanks. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 3

Could someone explain me how this code works line to line? Thanks.

function substr(x,y){ return x; return y; return x-y; } document.write(substr(6,2));

26th May 2018, 7:40 PM
Rastislav Romanec
Rastislav Romanec - avatar
1 ответ
+ 2
it will return x=6 only?
26th May 2018, 7:48 PM
Rastislav Romanec
Rastislav Romanec - avatar