blob: ce1d49011f046aad298678a582353913eaed49dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: String.prototype.toLocaleUpperCase()
es5id: 15.5.4.19_A1_T8
description: Call toLocaleUpperCase() function of Infinity
---*/
Number.prototype.toLocaleUpperCase = String.prototype.toLocaleUpperCase;
if (Infinity.toLocaleUpperCase() !== "INFINITY") {
throw new Test262Error('#1: Number.prototype.toLocaleUpperCase = String.prototype.toLocaleUpperCase; Infinity.toLocaleUpperCase()=== "INFINITY". Actual: ' + Infinity.toLocaleUpperCase());
}
reportCompare(0, 0);
|