3 test("animate(Hash, Object, Function) - assert that animate doesn't modify its arguments", function() {
6 var hash = {opacity: 'show'};
7 var hashCopy = $.extend({}, hash);
8 $('#foo').animate(hash, 'fast', function() {
9 ok( hash.opacity == hashCopy.opacity, 'Check if animate changed the hash parameter' );