archives

« Bugzilla Issues Index

#1795 — Typo in 10.5-7-b-3-s.js


It appears that there is a small typo in the test case, where instead of a check it's doing an assignment:

16 function _10_5_7_b_3_fun() {
17 arguments[1] = 12;
18 return arguments[0] = 30 && arguments[1] === 12;
19 };

In line 18, it would seem that the correct use would be arguments[0] == 30 instead of assigning 30 to arguments[0].


Pull request submitted with fix.