key

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

Returns the name of the nth key, or null if n is greater than or equal to the number of key/value pairs.

MDN Reference