Expert Developer JavaScript Question:

How are object properties assigned in JavaScript?

Tweet Share WhatsApp

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 PDF Read All 150 Expert JavaScript Developer Questions
Previous QuestionNext Question
Is JavaScript case sensitive? Give an example?What are the various functional components in JavaScript?