test262/test/built-ins/isNaN/S15.1.2.4_A2.6.js

14 lines
401 B
JavaScript
Raw Normal View History

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: The isNaN property has not prototype property
2017-06-29 17:31:57 +02:00
esid: sec-isnan-number
description: Checking isNaN.prototype
---*/
//CHECK#1
if (isNaN.prototype !== undefined) {
throw new Test262Error('#1: isNaN.prototype === undefined. Actual: ' + (isNaN.prototype));
}