Closed Bug 1244434 Opened 8 years ago Closed 8 years ago

convert some 'for .. in Iterator(array)' constructs to for..of loops in /mail (not tests)

Categories

(Thunderbird :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 47.0

People

(Reporter: aceman, Assigned: aceman)

References

Details

Attachments

(1 file)

In some cases where we just need to loop over values of an array, enclosing it in Iterator() seems needless and can be converted to the newer for..of.
Comment on attachment 8713989 [details] [diff] [review]
patch

Review of attachment 8713989 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM, r=mkmelin
Attachment #8713989 - Flags: review?(mkmelin+mozilla) → review+
https://hg.mozilla.org/comm-central/rev/e197472677d9
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 47.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: