ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 199 - Certified JavaScript Developer I discussion

Report
Export

Refer the code below.

x=3.14;

function myfunction() {

"use strict";

y=x;

}

z=x;

myFunction();

A.
Answers
A.
Suggested answer: A

Explanation:

Answer: A

Explanation:

Answer below in explanation:

Z is equal to 3.14

Use strict has effect only on line 5.

Line 5 throws an error

asked 23/09/2024
chengbin lin
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first