From: Mihai Bazon Date: Tue, 29 Oct 2013 13:53:54 +0000 (+0200) Subject: Fix typo X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b214d3786fdb569b9ba5b885f0653927960d450f;p=UglifyJS.git Fix typo --- diff --git a/lib/scope.js b/lib/scope.js index af6aebf5..49b04811 100644 --- a/lib/scope.js +++ b/lib/scope.js @@ -258,7 +258,7 @@ AST_Scope.DEFMETHOD("next_mangled", function(options){ AST_Function.DEFMETHOD("next_mangled", function(options, def){ // #179, #326 - // in Safary strict mode, something like (function x(x){...}) is a syntax error; + // in Safari strict mode, something like (function x(x){...}) is a syntax error; // a function expression's argument cannot shadow the function expression's name var tricky_def = def.orig[0] instanceof AST_SymbolFunarg && this.name && this.name.definition();