« Bugzilla Issues Index

#1403 — Type conversion for hint parameter [Date.prototype.@@ToPrimitive] does not explicitly state how to handle a non-string "hint" parameter. I'd suggest to add either an explicit ToString() call or use SameValue() to compare the hint parameter.

No explicit coercion is necessary as the else clause in step 5 handles it. I'll try to make it more explicit that steps 3 and 4 are test for those specific string values.

fixed in rev 15 editor's draft

resolved in rev 15, May 14, 2013 draft