Enhanced Array method that  can be emulated EcmaScript5 method with a legacy JavaScript engine