Array.constructor sample code