« Bugzilla Issues Index
#1795 — Typo in 10.5-7-b-3-s.js
- bug_id:
1795
- creation_ts:
2013-08-22 00:43:00 -0700
- short_desc:
Typo in 10.5-7-b-3-s.js
- delta_ts:
2014-07-10 13:40:43 -0700
- product:
Test262
- component:
ECMA-262 Tests
- version:
unspecified
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Simon Hausmann
- assigned_to:
Brian Terlson
- cc:
jaimelynschatz
- commentid:
4996
- comment_count:
0
- who:
Simon Hausmann
- bug_when:
2013-08-22 00:43:40 -0700
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].
- commentid:
6998
- comment_count:
1
- who:
Jaime
- bug_when:
2014-01-26 11:41:59 -0800
Pull request submitted with fix.