Answers

Question and Answer:

  Home  Expert JavaScript Developer

⟩ How are object properties assigned?

Properties are assigned to objects in the following way -

obj["class"] = 12;

or

obj.class = 12;

 178 views

More Questions for you: