Question: What will the given JavaScript do when processed by the browser? let firstName = Mary; Group of answer choices Create a global scope variable named
What will the given JavaScript do when processed by the browser?
let firstName "Mary";
Group of answer choices
Create a global scope variable named firstName.
Create a local scope variable named firstName.
Throw an "unknown variable name" error in the console.
Change an existing variable into firstName with the given value.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
