blob: 7ac446dbcd612db2d68a1ce8d7794442832fb552 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: Equivalent to the expression RegExp.prototype.exec(string) != null
es5id: 15.10.6.3_A1_T19
description: RegExp is /e{1}/ and tested string is void 0
---*/
var __re = /e{1}/;
//CHECK#0
if (__re.test(void 0) !== (__re.exec(void 0) !== null)) {
$ERROR('#0: __re = /e{1}/; __re.test(void 0) === (__re.exec(void 0) !== null)');
}
|