Question: What happens if I execute a line of JavaScript code that tries to write a value to an object property that doesn't exist? a. The

What happens if I execute a line of JavaScript code that tries to write a value to an object property that doesn't exist? a. The line of code executes, but no change is made to the object. b. The property is added to the object and the value is assigned. c. A syntax error is thrown. d. The variable becomes undefined
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
