<Null-safe assertion on a Array fails in Kotlin/JS...
# forum
u
Null-safe assertion on a Array fails in Kotlin/JS The is the test case - iso4k-mp/SpecTestsJs.kt at main · rkbalgi/iso4k-mp · GitHub Note the use of null-assertion (children!!) which is not required. However, changing this to children? causes the test to fail TypeError: Cannot read properties of undefined (reading ‘length’) If you look at line which causes the error var $receiver_0 =...