Kotlin Create Array Javascript Length Validation Master