Hum, rereading this, I figured it is not well-typed, because `callTrg` is an `any`. So `callTrg` should be `asInstanceOf`'ed to the appropriate array type with something like
```scala
val castCallTrg = js.AsInstanceOf(callTrg, jstpe.ArrayType(elemIRType))
```