Expert Developer JavaScript Question:

Download Job Interview Questions and Answers PDF

How are object properties assigned in JavaScript?

Expert JavaScript Developer Interview Question
Expert JavaScript Developer Interview Question

Answer:

Assigning properties to objects is done in the same way as a value is assigned to a variable. For example, a form object's action value is assigned as 'submit' in the following manner - Document.form.action="submit"

Download Expert JavaScript Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Is JavaScript case sensitive? Give an example?What are the various functional components in JavaScript?