tests/auto/qml/ecmascripttests/test262/test/language/expressions/concatenation/S9.8_A2_T2.js
raw| 1 | // Copyright 2009 the Sputnik authors. All rights reserved. |
| 2 | // This code is governed by the BSD license found in the LICENSE file. |
| 3 | |
| 4 | /*--- |
| 5 | info: Result of ToString conversion from null value is "null" |
| 6 | es5id: 9.8_A2_T2 |
| 7 | description: null convert to String by implicit transformation |
| 8 | ---*/ |
| 9 | |
| 10 | // CHECK#1 |
| 11 | if (null + "" !== "null") { |
| 12 | $ERROR('#1: null + "" === "null". Actual: ' + (null + "")); |
| 13 | } |