mirror of https://github.com/tc39/test262.git
16 lines
430 B
JavaScript
16 lines
430 B
JavaScript
// Copyright 2009 the Sputnik authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
info: The Infinity is ReadOnly
|
|
es5id: 15.1.1.2_A2_T2
|
|
description: Checking typeof Functions
|
|
flags: [noStrict]
|
|
---*/
|
|
|
|
// CHECK#1
|
|
Infinity = true;
|
|
assert.notSameValue(typeof(Infinity), "boolean", 'The value of typeof(Infinity) is not "boolean"');
|
|
|
|
// TODO: Convert to verifyProperty() format.
|