πŸ“Š JavaScript
Q. Among the keywords below, which one is not a statement?
  • (A) debugger
  • (B) with
  • (C) if
  • (D) use strict
πŸ’¬ Discuss
βœ… Correct Answer: (D) use strict

Explanation: use strict is a directive introduced in ECMAScript5. Directives are not statements because it does not include any language keywords. Also, it can appear only at the start of a script or at the start of a function body, before any real statemenst have appeared.

Explanation by: Mr. Dubey
use strict is a directive introduced in ECMAScript5. Directives are not statements because it does not include any language keywords. Also, it can appear only at the start of a script or at the start of a function body, before any real statemenst have appeared.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
146
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate