What will happen when Array.assign fails to convert for typed array?

The error will appear in the debugger:


It will not end program execution.

I believe you can can use Logger to automatically do this, I’ve never tried it myself though:

This article also seems helpful: