Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
eeaff786f0d0a86b7b827da0028bbafe287d3c04
/
.
/
compiler
/
testData
/
codegen
/
box
/
js
/
trailingLambdaOnDynamic.kt
blob: d87228b72fd7c05085a8e4cf5561e208ec8f3c20 [
file
]
// TARGET_BACKEND: JS_IR
fun box
():
String
{
val foo
=
js
(
"{ bar: function(x, y) { return y(x) } }"
)
val bar
=
js
(
"{ baz: 'OK' }"
)
return
foo
.
bar
(
bar
)
{
x
->
x
.
baz
}
}