blob: a974e5fd0916445ae86d01f58c88e3ec33be66f5 (
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: "Literal :: NullLiteral"
es5id: 7.8.1_A1_T2
description: Check RegExp("0").exec("1") === null
---*/
//CHECK#1
if (RegExp("0").exec("1") !== null) {
$ERROR('#1: RegExp("0").exec("1") === null');
}
reportCompare(0, 0);
|