Why does this JavaScript Object keys on array?

Why does this JavaScript Object keys on array returning string indices. The JavaScript code uses Object.keys on an array. In JavaScript keys are string numbers and holes are skipped.

#whatswrongwiththisjavascriptcode #javascriptbug #javascriptproductionbug #javascriptdebugging #javascriptbackend #javascriptcodereview #javascriptsecurity #javascriptperformance #javascriptreliability #javascriptapi #ja...

https://www.youtube.com/watch?v=py5dxuq7WYI

Why does this JavaScript Object keys on array? #javascriptsecurity

YouTube