Shane Schaefer
07/19/2024, 2:09 AMjs(...)
Shane Schaefer
07/19/2024, 2:10 AMactual fun openWebpage(url: String) {
js("window.open(url, '_blank').focus()")
}
Shane Schaefer
07/19/2024, 2:10 AMCalls to 'js(code)' should be a single expression inside a top-level function body or a property initializer in Kotlin/Wasm.
Shane Schaefer
07/19/2024, 2:15 AMjs()
function is only allowed to be called from package-level functions.