0

Whats wrong?

function awnser(text){ document.write("Awnser is: "); } function div(num1, num2){ return num1 / num2; } awnser("Awser is ", + document.write((18,6)));

21st Jan 2019, 7:40 PM
Opt Blacky
Opt Blacky - avatar
2 Answers
+ 1
function awnser(text){ document.write("Awnser is: "+text); } function div(num1, num2){ return num1 / num2; } awnser(div(18,6)); //output: Awnser is: 3
21st Jan 2019, 9:10 PM
Игорь Яковенко
Игорь Яковенко - avatar
+ 1
Thx!
21st Jan 2019, 9:12 PM
Opt Blacky
Opt Blacky - avatar