Question: 11.Prior to ECMAScript 5, what would happen if you declared a variable named firstName and then later refered to it as firstname? a. Firstname would

11.Prior to ECMAScript 5, what would happen if you declared a variable named firstName and then later refered to it as firstname?

a. Firstname would be treated as a new local variable

b. Firstname would be treated as a new global variable

c.The JavaScript engine would throw an arror

d. The JavaScript enggine would automatically correct the error

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!