ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 162 - Certified JavaScript Developer I discussion

Report
Export

Considering the implications of 'use strict' on line 04, which three statements describe the execution of the code?

Choose 3 answers

A.
z is equal to 3.14.
Answers
A.
z is equal to 3.14.
B.
'use strict' is hoisted, so it has an effect on all lines.
Answers
B.
'use strict' is hoisted, so it has an effect on all lines.
C.
'use strict' has an effect only on line 05.
Answers
C.
'use strict' has an effect only on line 05.
D.
'use strict' has an effect between line 04 and the end of the file.
Answers
D.
'use strict' has an effect between line 04 and the end of the file.
E.
Line 05 throws an error.
Answers
E.
Line 05 throws an error.
Suggested answer: A, C, E
asked 23/09/2024
Giulia Alberghi
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first