Array in javascript just objects with integer-based key and understanding how oop works on JavaScript is required. We are going to make a class called MyArray, and it will have four methods which are get, push, pop, and delete. Class MyArray {} First we create constructor, assign attribute data as…