const store ={};
store[1]="found it";const keys = Object.keys(store);
document.querySelector('#out').textContent = keys[0]===1? store[1]:"key became a string";
0 × 0
Output ready when you are
Press Run to render your code, or Submit to validate your solution.