Adds 5 Map/Reduce functions to the Array prototype