From a project generated con Kotlin Multiplatform Wizard
I'm testing a web application with wasmJs ([email protected])
If I try to display a value from an array string loaded from string resources, I get a WebAssembly Exception
my code:
Text(text = stringArrayResource(Res.array.item_list)[0])
my string resource file:
<resources>
<string name="app_name">TestWeb</string>
<string-array name="item_list">
<item>item 1</item>
<item>item 2</item>
<item>item 3</item>
</string-array>
</resources>
the error in the web (tried it in chrome, and firefox):

additional: it show [item 1, item 2, item 3] If I do:
Text(text = stringArrayResource(Res.array.item_list).toString())
Likewise in android app, and desktop app the correct value is displayed. The problem is only in web...