You are viewing a submission by a user. This is the read only version. Try solving this
question here.

How to implement Array.prototype.shift? JavaScript Interview Question | Problem Solving | JavaScript Polyfills

Submission by
@Aaquib Ahmed
https://www.devtools.tech/