1 2 3 4 5
function f(x) { return Math.cos(~(~Math.pow(Number.MAX_VALUE, x))) } f(-0) assertEq(f(undefined - undefined), 1)