defineKnownBuiltInPrototypeMethod
fun defineKnownBuiltInPrototypeMethod(tag: Any, scope: Scriptable, name: String, length: Int, prototype: Any?, target: SerializableCallable, attributes: Int, propertyAttributes: Int)(source)
Same as definePrototypeMethod, but the engine can recognise the result by its tag.
fun defineKnownBuiltInPrototypeMethod(tag: Any, scope: Scriptable, name: SymbolKey, length: Int, prototype: Any?, target: SerializableCallable, attributes: Int, propertyAttributes: Int)(source)
defineKnownBuiltInPrototypeMethod for a method named by a symbol.