in JavaScript by
Q:

How can we create an object in JS?

1 Answer

0 votes
by
var object = 
        { 
         name: "obj",
         age: 10
         };

Related questions

+1 vote
asked Aug 17, 2020 in JavaScript by RShastri
+1 vote
asked Jul 16, 2019 in JavaScript by Indian
+1 vote
asked Jul 16, 2019 in JavaScript by Indian
...