mootools/mootools-core — pull request #2177 by ibolmo (2011-12-19 16:45:39+00:00)
Title: Fixes 2169.

As per spec, `Array.filter` should return the filtered items, and not
andany possible mutation that might have occurred in the callback. See
referenced issue for more information.

Added coverage for case.

PASSED: IE6-9; FF3-5, 8, 11; Chrome latest; Safari 5; Opera 11