Whoops, seems I was a bit too hasty with my assump...
# javascript
b
Whoops, seems I was a bit too hasty with my assumptions. I got it working now. Thanks!
d
Btw, if you want to keep kotlin types, you can do this:
Copy code
inline fun <T> Array<T>.push(e: T): Int = asDynamic().push(e)
inline fun <T> Array<T>.pop(): T = asDynamic().pop()
👍 1