0

I need assistance in this code on how to break the output so that each is in a new line. It ouputs 2310.

var person={ name:"Samuel", age:23, career:"Programmer", height:183 }; var x=person.age; document.write(x); document.write(person.career.length);

25th May 2019, 8:50 AM
Samuel Kinuthia
Samuel Kinuthia - avatar
2 Réponses
+ 1
xD hey JavaScript course said in the first place just document.write("<br>"); And then you get a new line
25th May 2019, 8:56 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
0
Thanks
1st Jun 2019, 8:24 AM
Samuel Kinuthia
Samuel Kinuthia - avatar