Last updated 6 years ago
obj = {1: 'num 1', 3: 'num 3', [Symbol.iterator]: function(){ const keys = Object.keys(this).map(Number).filter(Number)