Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Number/S9.3_A1_T1.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 number conversion from undefined value is NaN
6 es5id: 9.3_A1_T1
7 description: Undefined convert to Number by explicit transformation
8 ---*/
9
10 assert.sameValue(Number(undefined), NaN);