« Bugzilla Issues Index
#4163 — 19.4.3.4 Symbol.prototype [ @@toPrimitive ] ( hint ) says "object", should say "symbol"
- bug_id:
4163
- creation_ts:
2015-03-16 10:05:00 -0700
- short_desc:
19.4.3.4 Symbol.prototype [ @@toPrimitive ] ( hint ) says "object", should say "symbol"
- delta_ts:
2015-03-17 16:57:07 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 35: March 4, 2015 Release Candidate 2
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Rick Waldron
- assigned_to:
Allen Wirfs-Brock
- commentid:
13740
- comment_count:
0
- who:
Rick Waldron
- bug_when:
2015-03-16 10:05:58 -0700
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-symbol.prototype-@@toprimitive
In the descriptive paragraph:
This function is called by ECMAScript language operators to convert an
object to a primitive value. The allowed values for hint are "default",
"number", and "string".
Should read:
This function is called by ECMAScript language operators to convert an
symbol to a primitive value. The allowed values for hint are "default",
"number", and "string".
"convert an object" => "convert a symbol"
- commentid:
13744
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-03-16 10:51:17 -0700
fixed in Rev36 editor's draft
- commentid:
13831
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-03-17 16:57:07 -0700
in rev36