Create a custom Array constructor which will return an array object.

check the output in console, code is in script