property

fun JsObject.property(name: String, value: Any?, flags: PropertyFlags = PropertyFlags())(source)

Puts a value on the object.