definePrototypeMethod
fun definePrototypeMethod(scope: Scriptable, name: String, length: Int, target: SerializableCallable, attributes: Int = DONTENUM, propertyAttributes: Int = DONTENUM or READONLY)(source)
fun definePrototypeMethod(scope: Scriptable, name: SymbolKey, length: Int, target: SerializableCallable, attributes: Int = DONTENUM, propertyAttributes: Int = DONTENUM or READONLY)(source)
fun definePrototypeMethod(scope: Scriptable, name: String, length: Int, prototype: Any?, target: SerializableCallable, attributes: Int, propertyAttributes: Int)(source)
fun definePrototypeMethod(scope: Scriptable, name: SymbolKey, length: Int, prototype: Any?, target: SerializableCallable, attributes: Int, propertyAttributes: Int)(source)