0

why isn't residents, no working for me?

var Usa= { name:"Usa" , age :69 residents : "250 millios" } document.write(Usa.name);

19th Feb 2018, 11:53 AM
Emil Tayeb
Emil Tayeb - avatar
2 Respostas
+ 19
You missed a comma after age:69 (,)
19th Feb 2018, 11:58 AM
Valen.H. ~
Valen.H. ~ - avatar
0
yup! noticed that right after i posted it. quick question, can I ass another var = any county name here and do the exact same thing thing?
19th Feb 2018, 12:32 PM
Emil Tayeb
Emil Tayeb - avatar