mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
502 B
14 lines
502 B
define: DUK_USE_STRICT_DECL
|
|
feature_enables: DUK_OPT_STRICT_DECL
|
|
introduced: 1.1.0
|
|
default: true
|
|
tags:
|
|
- ecmascript
|
|
- experimental
|
|
description: >
|
|
Enable support for "use strict" declaration (recommended).
|
|
|
|
When disabled, Ecmascript code is always executed in non-strict mode.
|
|
Duktape/C functions remain strict. This option is useful in some legacy
|
|
environments where "use strict" declarations are used in existing code
|
|
base but the Javascript engine didn't actually support strict mode.
|
|
|