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