Kotlin Create Array Javascript Function How To Use