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
648 B
14 lines
648 B
define: DUK_OPT_NONSTD_FUNC_CALLER_PROPERTY
|
|
introduced: 1.0.0
|
|
tags:
|
|
- ecmascript
|
|
description: >
|
|
Add a non-standard "caller" property to non-strict function instances
|
|
for better compatibility with existing code. The semantics of this
|
|
property are not standardized and may vary between engines; Duktape tries
|
|
to behave close to V8 and Spidermonkey. See
|
|
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/caller
|
|
description of the property. This feature disables tail call support.
|
|
|
|
This feature conflicts with several other features, so you should use it
|
|
only if it's absolutely necessary.
|
|
|