function f(undefined) { var n = 1; return typeof n == "undefined"; }