Apply a callback to an array: Difference between revisions