calling methods like copy that have default argume...
# announcements
a
calling methods like copy that have default arguments is problematic from outside Kotlin in general, not just in JS - it expects a bitfield specifying which arguments are passed (at least, the JVM implementation does). So tbh I'm not sure that naming the function is your only problem.
b
In Kotlin/JS we follow standard JS conventions about default arguments, so it should work as in usual JS.