How to get the variable name as a string from a variable

Object.keys({i})[0];
// -> 'i'