1
0
Fork 0

IE uses empty string (rather than undefined) for unmatched regex groups

closure/master
Mike Gerwitz 2011-11-20 20:37:59 -05:00
parent a701ee40a7
commit 2ef17cd297
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ module.exports = function( test_case )
args.push( [ context[ prop ][ i ] ] ); args.push( [ context[ prop ][ i ] ] );
} }
} }
else if ( method !== undefined ) else if ( method )
{ {
throw Error( "Unknown test method: " + method ); throw Error( "Unknown test method: " + method );
} }