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,
}().length);
}
expect_warnings: [
- "WARN: Function.protoype.caller not supported [test/compress/issue-2719.js:5,19]",
- "WARN: Function.protoype.arguments not supported [test/compress/issue-2719.js:5,19]",
+ "WARN: Function.prototype.caller not supported [test/compress/issue-2719.js:5,19]",
+ "WARN: Function.prototype.arguments not supported [test/compress/issue-2719.js:5,19]",
]
}