assert-notsamevalue-notsame.js (441B)
1 // Copyright (C) 2015 the V8 project authors. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 description: > 6 Values that are not strictly equal satisfy the assertion. 7 ---*/ 8 9 assert.notSameValue(undefined, null); 10 assert.notSameValue(null, undefined); 11 assert.notSameValue(0, 1); 12 assert.notSameValue(1, 0); 13 assert.notSameValue('', 's'); 14 assert.notSameValue('s', ''); 15 16 reportCompare(0, 0);