tc39 / proposal-intl-relative-time

`Intl.RelativeTimeFormat` specification [draft]
http://tc39.github.io/proposal-intl-relative-time/
215 stars 24 forks source link

Review @@toStringTag value #72

Closed Ms2ger closed 6 years ago

Ms2ger commented 6 years ago

1.4.2 Intl.RelativeTimeFormat.prototype[ @@toStringTag ]

The initial value of the @@toStringTag property is the string value "Object".

Why? What is even the point of having the property if you're going to make it say "Object"?

anba commented 6 years ago

As mentioned in https://github.com/tc39/proposal-intl-locale/issues/44, we should try to be consistent with @@toStringTag in the newer Intl proposals.

Also see https://github.com/tc39/ecma402/issues/176