function fn() { return Math.max.apply(Math, [1,2,3]); } assertEqual(fn(), 3); test(fn);