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.
 
 
 
 
 
 

11 lines
438 B

define: DUK_OPT_USER_INITJS
introduced: 1.0.0
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.