Permalink
Browse files

"arguments" presence

  • Loading branch information...
1 parent a68d2ce commit 9433bc9b3cda3066bfb918ec28c0a7771c234ddb @zardam zardam committed Oct 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 jsawk
View
2 jsawk
@@ -1105,7 +1105,7 @@ replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
if (!noprint)
out(RS);
-})(scriptArgs);
+})(typeof arguments === 'undefined' ? scriptArgs : arguments);
__END__
nlines=0

0 comments on commit 9433bc9

Please sign in to comment.