blob: ab93d95a8a3cc03d5a8e2f1d04e8b7931fafe7e3 [file] [log] [blame]
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.10.6.2-9-e-1
description: >
RegExp.prototype.exec - the removed step 9.e won't affected
current algorithm
---*/
var str = "Hello World!";
var regObj = new RegExp("World");
var result = false;
result = regObj.exec(str).toString() === "World";
assert(result, 'result !== true');