cacheBuiltins

fun cacheBuiltins(scope: Scriptable, sealed: Boolean)

Takes a copy of the built-in constructors so a script cannot change what the engine itself uses. ScriptRuntime.initStandardObjects calls this when the scope is a TopLevel.