Hi friends, I have a potentially silly question. I...
# javascript
a
Hi friends, I have a potentially silly question. I tried searching for an answer without much luck so I figured I'd ask here. I'm writing some multiplatform Kotlin code that I would like to compile via Kotlin/JS and call from pre-existing JS code. One of the parameters to a function is a
parameter: Map<String, String>
. Is there a way to allow the JS code to pass in something like
{ 'foo': 'bar' }
and then access it from Kotlin via
parameter["foo"]
?