Make Array.prototype
methods spec compliant
#1449
Merged
Array.prototype
methods spec compliant
#1449