blob: 5abcc2012d50ebbbad7124872555757bdc0640da [file] [log] [blame]
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Number.prototype value is +0
es5id: 15.7.3.1_A3
description: Checking value of Number.prototype property
---*/
//CHECK#1
if (Number.prototype != 0) {
$ERROR('#2: Number.prototype == +0');
} else if (1 / Number.prototype != Number.POSITIVE_INFINITY) {
$ERROR('#2: Number.prototype == +0');
}