defineProperty

fun defineProperty(destination: Scriptable, propertyName: String, value: Any?, attributes: Int)