How are object properties assigned?
0
Properties are assigned to objects in the following way -
obj["class"] = 12;
or
obj.class = 12;
Sign in to add a comment
0 Answers
0
📝 No answers yet!
Be the first to answer this interview question.
Your Answer
Sign in to post your answer and help the community.