Index: test/mjsunit/typeof.js |
diff --git a/test/mjsunit/typeof.js b/test/mjsunit/typeof.js |
index 86f9e0d62f13401a9dcfbb08322fa5f21c3365f9..8aa0ab1c3d8c767397d27f34e1c4790b483f9a6b 100644 |
--- a/test/mjsunit/typeof.js |
+++ b/test/mjsunit/typeof.js |
@@ -25,7 +25,7 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// The type of a regular expression should be 'function', including in |
+// The type of a regular expression should be 'object', including in |
// the context of string equality comparisons. |
var r = new RegExp; |
@@ -35,4 +35,3 @@ assertFalse(typeof r == 'function'); |
function test(x, y) { return x == y; } |
assertTrue(test('object', typeof r)); |
- |