I don't understand this object properties what i mean is that i dont know how thier ans will be a number | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I don't understand this object properties what i mean is that i dont know how thier ans will be a number

For example Var={ Name:johnson; age= 23 Height=45

13th Feb 2019, 5:59 PM
Newman Richard
Newman Richard - avatar
1 Answer
+ 1
Do you talk about JS here? Should be: var person = { name: "Johnson", // String age: 23, // Number height: 45 // Number } console.log(person.age); // 23
28th Mar 2019, 9:02 AM
Pete Wright
Pete Wright - avatar