1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
6 pattern is an object R whose [[Class]] property is "RegExp" and flags
10 Checking if execution of "new RegExp(pattern, "i")", where the
11 pattern is "/\u0042/i", does not fail
14 var regExpObj = new RegExp(/\u0042/i, "i");
15 assert(regExpObj.ignoreCase);