Skip to content
Snippets Groups Projects
Commit 08071715 authored by Simon Richter's avatar Simon Richter Committed by Leo Balter
Browse files

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.
parent 48896f94
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ description: > ...@@ -11,7 +11,7 @@ description: >
var obj = { prop: "abc" }; var obj = { prop: "abc" };
var func = function (x) { 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"; arguments[0] === 1 && arguments.length === 2 && this.prop === "abc";
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment