From 631edb07dbe5989cd588c674377c55eabf41804f Mon Sep 17 00:00:00 2001 From: Ed S Date: Wed, 27 Feb 2019 13:44:38 +0000 Subject: [PATCH] Fix typo in warning protoype -> prototype --- lib/compress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compress.js b/lib/compress.js index df33a5c3..33f472ea 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -6423,7 +6423,7 @@ merge(Compressor.prototype, { OPT(AST_Dot, function(self, compressor) { if (self.property == "arguments" || self.property == "caller") { - compressor.warn("Function.protoype.{prop} not supported [{file}:{line},{col}]", { + compressor.warn("Function.prototype.{prop} not supported [{file}:{line},{col}]", { prop: self.property, file: self.start.file, line: self.start.line,