mirror of https://github.com/tc39/test262.git
Removed an invalid "var".
This commit is contained in:
parent
d6df1d4a36
commit
57c450002d
|
@ -5,7 +5,7 @@
|
||||||
* @name: S15.10.6.2_A12;
|
* @name: S15.10.6.2_A12;
|
||||||
* @section: 15.10.6.2;
|
* @section: 15.10.6.2;
|
||||||
* @assertion: regExp exec() acts like regExp.exec('undefined') (step 2);
|
* @assertion: regExp exec() acts like regExp.exec('undefined') (step 2);
|
||||||
* @description: Checking RegExp.prototype.exec.length;
|
* @description: Checking RegExp.prototype.exec
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(/foo/).test('xfoox');
|
(/foo/).test('xfoox');
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* @name: S15.3.4.5_A1;
|
* @name: S15.3.4.5_A1;
|
||||||
* @section: 15.3.4.5;
|
* @section: 15.3.4.5;
|
||||||
* @assertion: "caller" of bound function is poisoned (step 20);
|
* @assertion: "caller" of bound function is poisoned (step 20);
|
||||||
* @description A bound function should fail to find its "caller";
|
* @description: A bound function should fail to find its "caller";
|
||||||
* @negative
|
* @negative
|
||||||
* @errortype: TypeError;
|
* @errortype: TypeError;
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
* @section: 15.4.4.12;
|
* @section: 15.4.4.12;
|
||||||
* @assertion: Operator use ToInteger from start;
|
* @assertion: Operator use ToInteger from start;
|
||||||
* @description: ToInteger use ToNumber;
|
* @description: ToInteger use ToNumber;
|
||||||
* @description: ToInteger use ToNumber;
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var x = [0,1,2,3];
|
var x = [0,1,2,3];
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
var __instance = new Object(true);
|
var __instance = new Object(true);
|
||||||
|
|
||||||
var __instance.lastIndexOf = String.prototype.lastIndexOf;
|
__instance.lastIndexOf = String.prototype.lastIndexOf;
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
|
|
|
@ -23,7 +23,7 @@ description: "Arguments are false and true, and instance is object",
|
||||||
test: function testcase() {
|
test: function testcase() {
|
||||||
var __instance = new Object(true);
|
var __instance = new Object(true);
|
||||||
|
|
||||||
var __instance.lastIndexOf = String.prototype.lastIndexOf;
|
__instance.lastIndexOf = String.prototype.lastIndexOf;
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
|
|
Loading…
Reference in New Issue