GitHubSign in

A directive in JavaScript that enables strict mode, a stricter set of rules and restrictions for writing JavaScript code, aimed at preventing common programming errors and enhancing security by prohibiting certain unsafe or deprecated features.

"'use strict'; at the beginning of a script enables strict mode for the entire script."

@openai