in JavaScript by
Q:

How can we create an object in JS?

1 Answer

0 votes
by
var object = 
        { 
         name: "obj",
         age: 10
         };
Click here to read more about JavaScript
Click here to read more about Insurance

Related questions

+2 votes
asked May 31, 2020 in JAVA by SakshiSharma
+1 vote
asked Jul 16, 2019 in JavaScript by Indian
+1 vote
asked Jul 16, 2019 in JavaScript by Indian
0 votes
asked Aug 24, 2020 in JavaScript by Hodge
+1 vote
asked Jul 16, 2019 in JavaScript by Indian
+1 vote
...