Lines Matching refs:Construct
28 function Construct(x) { return x; }
30 assertFalse(null == new Construct(null));
31 assertFalse(void 0 == new Construct(void 0));
32 assertFalse(0 == new Construct(0));
33 assertFalse(1 == new Construct(1));
34 assertFalse(4.2 == new Construct(4.2));
35 assertFalse('foo' == new Construct('foo'));
36 assertFalse(true == new Construct(true));
39 assertTrue(x === new Construct(x));
40 assertFalse(x === new Construct(null));
41 assertFalse(x === new Construct(void 0));
42 assertFalse(x === new Construct(1));
43 assertFalse(x === new Construct(3.2));
44 assertFalse(x === new Construct(false));
45 assertFalse(x === new Construct('bar'));
47 assertTrue(x === new Construct(x));
49 assertTrue(x === new Construct(x));
51 assertTrue(x === new Construct(x));
53 assertTrue(x === new Construct(x));
55 assertTrue(x === new Construct(x));