mirror of https://github.com/tc39/test262.git
21 lines
645 B
JavaScript
21 lines
645 B
JavaScript
|
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||
|
|
||
|
/**
|
||
|
* The production QuantifierPrefix :: { DecimalDigits , }evaluates as follows:
|
||
|
* i) Let i be the MV of DecimalDigits
|
||
|
* ii) Return the two results i and \infty
|
||
|
*
|
||
|
* @path 15_Native/15.10_RegExp_Objects/15.10.2_Pattern_Semantics/15.10.2.7_Quantifier/S15.10.2.7_A6_T2.js
|
||
|
* @description Execute /b{8,}c/.test("aaabbbbcccddeeeefffff") and check results
|
||
|
*/
|
||
|
|
||
|
__executed = /b{8,}c/.test("aaabbbbcccddeeeefffff");
|
||
|
|
||
|
//CHECK#1
|
||
|
if (__executed) {
|
||
|
$ERROR('#1: /b{8,}c/.test("aaabbbbcccddeeeefffff") === false');
|
||
|
}
|
||
|
|
||
|
|