val name: String
Platform and version requirements: JS
the name which compiler uses both for declaration itself and for all references to the declaration. It's required to denote a valid JavaScript identifier.
name
- the name which compiler uses both for declaration itself and for all references to the declaration. It's required to denote a valid JavaScript identifier.
Since 1.1
© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-js-name/name.html