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.
 
 
 
 
 
 

17 lines
693 B

define: DUK_USE_NONSTD_FUNC_CALLER_PROPERTY
introduced: 1.0.0
removed: 3.0.0
default: false
tags:
- ecmascript
- compliance
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.