W3cubDocs

/Kotlin

js

Platform and version requirements: JS (1.1)
fun js(code: String): dynamic
Platform and version requirements: JS (1.1)
val <T : Any> KClass<T>.js: JsClass<T>

Obtains a constructor reference for the given KClass.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/js.html