Files
kotlin-fork/js/js.translator/testData/expression/dollarParameter/cases/dollarParameter.kt
T

11 lines
192 B
Kotlin
Vendored

package foo
fun MyController(`$scope`: String): String {
return "Hello " + `$scope` + "!"
}
fun box(): String {
assertEquals("Hello world!", MyController("world"))
return "OK"
}