Rather than introducing a new method, could the proposal instead be about adding a second argument to Object.keys()? As in:
const a = [13, 42]
a.foo = 99
Object.keys(a) // [ '0', '1', 'foo' ]
Object.keys(a, { numeric: true }) // [ '0', '1' ]
Object.keys(a, { numeric: false }) // [ 'foo' ]