View all questions & answers for the JavaScript-Developer-I exam
Refer the code below.
x=3.14;
function myfunction() {
"use strict";
y=x;
}
z=x;
myFunction();
Z is equal to 3.14
Use strict has effect only on line 5.
Line 5 throws an error
Submit