Kotlin Create Empty Array Javascript Length