property RunningScriptInNewContextOptions.microtaskMode
If set to afterEvaluate, microtasks will be run immediately after the script has run.
CreateContextOptions["microtaskMode"]If set to afterEvaluate, microtasks will be run immediately after the script has run.
CreateContextOptions["microtaskMode"]