The HTMLInputElement.multiple property indicates if an input can have more than one value.
HTMLInputElement.multiple
MDN Reference