Fix typo in warning

protoype -> prototype
This commit is contained in:
Ed S 2019-02-27 13:44:38 +00:00 committed by GitHub
parent ea999b0e92
commit 631edb07db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6423,7 +6423,7 @@ merge(Compressor.prototype, {
OPT(AST_Dot, function(self, compressor) { OPT(AST_Dot, function(self, compressor) {
if (self.property == "arguments" || self.property == "caller") { 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, prop: self.property,
file: self.start.file, file: self.start.file,
line: self.start.line, line: self.start.line,