test262/test/language/literals/null/S7.8.1_A1_T2.js

14 lines
344 B
JavaScript
Raw Normal View History

// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: "Literal :: NullLiteral"
2014-07-25 00:41:42 +02:00
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');
}