« Bugzilla Issues Index
#4286 — 13.1.1 String.prototype.localeCompare: Use same steps 1-6 as ES2015, + editorial
- bug_id:
4286
- creation_ts:
2015-04-16 10:38:00 -0700
- short_desc:
13.1.1 String.prototype.localeCompare: Use same steps 1-6 as ES2015, + editorial
- delta_ts:
2015-04-16 20:44:10 -0700
- product:
Internationalization - ECMA-402
- component:
Specification
- version:
Edition 2.0 drafts
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Rick Waldron
- cc:
waldron.rick
- commentid:
14198
- comment_count:
0
- who:
André Bargull
- bug_when:
2015-04-16 10:38:33 -0700
13.1.1 String.prototype.localeCompare (that [, locales [, options ]])
Preamble: Change `that` to italic font.
Steps 1-6: Change to steps 1-5 from ES2015 String.prototype.localeCompare
> 1. Let O be RequireObjectCoercible(this value).
> 2. Let S be ToString(O).
> 3. ReturnIfAbrupt(S).
> 4. Let That be ToString(that).
> 5. ReturnIfAbrupt(That).
Step 9: Change `collator`, `S` and `That` to italic font.
Merge steps 9-10:
> 9. Return CompareStrings(collator, S, That).
- commentid:
14220
- comment_count:
1
- who:
Rick Waldron
- bug_when:
2015-04-16 12:38:02 -0700
> Preamble: Change `that` to italic font.
Fixed.
> Steps 1-6: Change to steps 1-5 from ES2015 String.prototype.localeCompare
Fixed.
> Step 9: Change `collator`, `S` and `That` to italic font.
> Merge steps 9-10: