0 votes
in JavaScript by
Which one of the following is not considered as "statement" in the JavaScript?

a) use strict

b) debugger

c) if

d) with

1 Answer

0 votes
by

Answer: A

Reason: In JavaScript, the "use strict" is not a keyword because it not includes any language keywords. However, it is a directive that is introduced in the ECMAscript5 version of the javascript. The "use strict" can be used only in the beginning of the script or in the beginning of the function where no actual keywords are mentioned yet.

Related questions

0 votes
asked Mar 21, 2021 in JavaScript by rajeshsharma
+1 vote
asked Mar 22, 2021 in JavaScript by Robindeniel
...