how to show alert with kotlin js ?, I have expecte...
# javascript
s
how to show alert with kotlin js ?, I have expected that it will be easy as with console.log
l
1.
js("alert('oops')")
2. Declare
external fun alert(message: String)
then you can use
alert("oops")
s
thanks!!!
g
Alert already declared in stdlib
kotlin.browser.window.alert
👍 3