← Docs
kotlin-stdlib / kotlin.js / eval

eval

JS
1.1
fun eval ( expr : String ) : dynamic
(source)

Exposes the JavaScript eval function to Kotlin.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .