Source code

Revision control

Copy as Markdown

Other Tools

/*
* Any copyright is dedicated to the Public Domain.
*/
var BUGNUMBER = 614603;
var summary = "RegExp.length";
print(BUGNUMBER + ": " + summary);
/**************
* BEGIN TEST *
**************/
assertEq(RegExp.length, 2);
assertEq(/a/.constructor.length, 2);
if (typeof reportCompare === "function")
reportCompare(true, true);
print("All tests passed!");