reportCompare.js (486B)
1 // Copyright (C) 2017 Mozilla Corporation. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 description: | 6 assert.sameValue 7 flags: [noStrict] 8 esid: pending 9 ---*/ 10 11 var a = 42; 12 13 // comment 14 assert.sameValue(trueish, true, "ok"); 15 16 assert.sameValue ( true, /*lol*/true, "ok"); 17 18 assert.sameValue(true, f instanceof Function); 19 assert.sameValue(true, true, "don't crash"); 20 assert.sameValue(42, foo); 21 22 // this was a assert.sameValue Line