name

external val name: String?(source)

The name read-only property of the MIDIPort interface returns the system name of the port.

MDN Reference