summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Number/S9.3_A1_T1.js
blob: ad9f4c76ca6bc4966097477bc2c4996e4769d25a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: Result of number conversion from undefined value is NaN
es5id: 9.3_A1_T1
description: Undefined convert to Number by explicit transformation
---*/

assert.sameValue(Number(undefined), NaN);

reportCompare(0, 0);