kotlin-stdlib / kotlin.collections / ArrayList / <init> <init> Common JS Native 1.0 <init>() Creates an empty ArrayList. Common Native 1.0 <init>(initialCapacity: Int) JS 1.1 <init>(initialCapacity: Int = 0) Creates an empty ArrayList. Parameters initialCapacity - initial capacity (ignored) Common JS Native 1.0 <init>(elements: Collection<E>) Creates an ArrayList filled from the elements collection.