Obtenha o nome da variável JavaScript
const myFirstName = 'John'
Object.keys({myFirstName})[0]
// returns "myFirstName"
Worried Willet
const myFirstName = 'John'
Object.keys({myFirstName})[0]
// returns "myFirstName"