call

abstract fun call(name: String, vararg args: Any?): JsValue(source)

Calls a method on this object, the way obj.name(...) does in a script.