You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No hint is provided in the calls to ToPrimitive in steps 5 and 6. All native ECMAScript objects except Date objects handle the absence of a hint as if the hint Number were given; Date objects handle the absence of a hint as if the hint String were given.
Still not sure what this means, but it's definitely the loose thread I need to pull.
JavaScript coerces a Date to a string:
JS-Interpreter coerces a Date to a number:
I like JS-Interpreter's behaviour better, but what I like or don't like doesn't matter.
The text was updated successfully, but these errors were encountered: