« Bugzilla Issues Index
#1254 — BasicFormatMatcher algorithm doesn't initialize formatProp
- bug_id:
1254
- creation_ts:
2013-02-14 13:57:00 -0800
- short_desc:
BasicFormatMatcher algorithm doesn't initialize formatProp
- delta_ts:
2015-02-08 14:02:09 -0800
- product:
Internationalization - ECMA-402
- component:
Specification
- version:
Edition 1.0 standard
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Norbert
- assigned_to:
Norbert
- commentid:
3195
- comment_count:
0
- who:
Norbert
- bug_when:
2013-02-14 13:57:19 -0800
... which is especially problematic because it's used in a loop, so even if one were to assume that uninitialized variables start out as undefined (ES5.1 5.2 doesn't say so), it wouldn't help in iterations after a value has been assigned. It should be initialized to undefined for each iteration.
- commentid:
12220
- comment_count:
1
- who:
Norbert
- bug_when:
2015-02-08 14:02:09 -0800
Fixed in 2013-02-28 draft.