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.
 
 
 
 
 
 

13 lines
468 B

define: DUK_USE_USER_INITJS
introduced: 1.0.0
removed: 2.0.0
default: false
tags:
- portability
description: >
Provide a string to evaluate when a thread with new built-ins (a new global
environment) is created. This allows you to make minor modifications to the
global environment before any code is executed in it. The value must be a
string, e.g.:: -DDUK_OPT_USER_INITJS='"this.foo = 123"'.
Errors in the initialization code result in a fatal error.