toObject

fun toObject(value: Any?, scope: Scriptable): Scriptable