ScriptRuntimeES6

The ES6-only runtime helpers.

Functions

Link copied to clipboard
fun addSymbolSpecies(cx: Context, scope: Scriptable, constructor: ScriptableObject)

Adds the get [Symbol.species] accessor that just returns this.

Link copied to clipboard
Link copied to clipboard
fun requireObjectCoercible(cx: Context?, value: Any?, idFuncObj: IdFunctionObject): Any?
fun requireObjectCoercible(cx: Context?, value: Any?, tag: Any?, functionName: String): Any?