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.
19 lines
543 B
19 lines
543 B
9 years ago
|
define: DUK_USE_ROM_GLOBAL_CLONE
|
||
|
introduced: 1.5.0
|
||
|
requires:
|
||
|
- DUK_USE_ROM_STRINGS
|
||
|
- DUK_USE_ROM_OBJECTS
|
||
|
conflicts:
|
||
|
- DUK_USE_ROM_GLOBAL_INHERIT
|
||
|
default: false
|
||
|
tags:
|
||
|
- lowmemory
|
||
|
- experimental
|
||
|
description: >
|
||
|
When using ROM built-in objects, create a RAM-based global object by copying
|
||
|
the properties of the ROM-based global object into a fresh empty object.
|
||
|
|
||
|
Having a writable global object is usually expected; if the global object is
|
||
|
not writable, it's not possible to e.g. declare functions outside of CommonJS
|
||
|
modules.
|