Expert Developer JavaScript Question:
How are object properties assigned in JavaScript?
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"
Previous Question | Next Question |
Is JavaScript case sensitive? Give an example? | What are the various functional components in JavaScript? |