How are object properties assigned?

Submitted by: Administrator
Properties are assigned to objects in the following way -

obj["class"] = 12;

or

obj.class = 12;
Submitted by:

Read Online Expert Developer JavaScript Job Interview Questions And Answers