typeof /someregexp/ returns 'function'. expected value is 'regexp' in firefox, 'object' is returned.
looks like the consensus is that it should return 'object' see discussion in mozilla bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=61911
Ironically, this was originally done for compatibility with Mozilla. Bug 22082 suggests that we should change it back. *** This bug has been marked as a duplicate of 22082 ***