inline fun obj(init: dynamic.() -> Unit): dynamic
Helper function for creating JavaScript objects.
inline fun <T> obj(init: T.() -> Unit): T
Helper function for creating JavaScript objects with given type.