Add missing operator in test (#804)

Automatic Semicolon Insertion hides an error here by transforming a long
ReturnStatement into a ReturnStatement followed by an ExpressionStatement
that is never reached. The conditions on the second line are thus never
tested.
This commit is contained in:
Simon Richter 2016-12-06 18:22:29 +01:00 committed by Leo Balter
parent 48896f9445
commit 08071715e4

View File

@ -11,7 +11,7 @@ description: >
var obj = { prop: "abc" };
var func = function (x) {
return this === obj && x === 1 && arguments[1] === 2
return this === obj && x === 1 && arguments[1] === 2 &&
arguments[0] === 1 && arguments.length === 2 && this.prop === "abc";
};