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