key

fun key(index: Int): String?(source)

The key() method of the Storage interface, when passed a number n, returns the name of the nth key in a given Storage object.

MDN Reference