S15.1.2.2_A7.1_T1.js (406B)
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: If Z is empty, return NaN 6 esid: sec-parseint-string-radix 7 description: Complex test. R in [2, 36] 8 ---*/ 9 10 //CHECK# 11 for (var i = 2; i <= 36; i++) { 12 assert.sameValue(parseInt("$string", i), NaN, 'parseInt("$string", i) must return NaN'); 13 } 14 15 reportCompare(0, 0);