michael@0: function testNot() { michael@0: var a = new Object(), b = null, c = "foo", d = "", e = 5, f = 0, g = 5.5, h = -0, i = true, j = false, k = undefined; michael@0: var r; michael@0: for (var i = 0; i < 10; ++i) michael@0: r = [!a, !b, !c, !d, !e, !f, !g, !h, !i, !j, !k]; michael@0: return r.join(","); michael@0: } michael@0: assertEq(testNot(), "false,true,false,true,false,true,false,true,false,true,true");