public class ScriptRuntimeES6 extends Object
| Constructor and Description |
|---|
ScriptRuntimeES6() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addSymbolSpecies(Context cx,
Scriptable scope,
ScriptableObject constructor)
Registers the symbol
[Symbol.species] on the given constructor function. |
static void |
addSymbolUnscopables(Context cx,
Scriptable scope,
ScriptableObject constructor,
LazilyLoadedCtor value)
Registers the symbol
[Symbol.unscopables] on the given constructor function. |
static Object |
requireObjectCoercible(Context cx,
Object val,
IdFunctionObject idFuncObj) |
static Object |
requireObjectCoercible(Context cx,
Object val,
Object tag,
String functionName) |
public static Object requireObjectCoercible(Context cx, Object val, IdFunctionObject idFuncObj)
public static Object requireObjectCoercible(Context cx, Object val, Object tag, String functionName)
public static void addSymbolSpecies(Context cx, Scriptable scope, ScriptableObject constructor)
[Symbol.species] on the given constructor function.public static void addSymbolUnscopables(Context cx, Scriptable scope, ScriptableObject constructor, LazilyLoadedCtor value)
[Symbol.unscopables] on the given constructor function.Copyright © 2025 HtmlUnit. All rights reserved.