compare-objects.js | 49 function test(a, b, less, greater) { 57 assertEquals(lt(a, b), less); 60 assertEquals(gt(b, a), less); 66 var less = obj1 < obj2; variable 69 test(obj1, obj2, less, greater); 70 test(obj1, obj2, less, greater); 71 test(obj1, obj2, less, greater); 73 test(obj1, obj2, less, greater); 74 test(obj1, obj2, less, greater); 77 test(obj1, obj2, less, greater) 85 var less = obj1 < obj2; variable 96 var less = obj1 < obj2; variable 103 var less = true; variable [all...] |