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
The debugging-only _repr_ getter (which is used to show the contents of a Duration in the polyfill while debugging with Chrome devtools console) has an extra 0.0S appended to its output that should not be there. The output should match toString().
Repro: run the following code in Chrome devtools console:
Temporal.Duration.from('P73DT4H')
Expected: Duration {_repr_: "Temporal.Duration <P73DT4H>"} (_repr_ should have same output as toString())
Actual: Duration {_repr_: "Temporal.Duration <P73DT4H0.0S>"}
Note that the _repr_ is only for debugging the pre-production polyfill. It's not present in the 262 spec so fixing this won't affect the spec.
The text was updated successfully, but these errors were encountered:
The debugging-only
_repr_
getter (which is used to show the contents of a Duration in the polyfill while debugging with Chrome devtools console) has an extra0.0S
appended to its output that should not be there. The output should matchtoString()
.Repro: run the following code in Chrome devtools console:
Expected:
Duration {_repr_: "Temporal.Duration <P73DT4H>"}
(_repr_
should have same output astoString()
)Actual:
Duration {_repr_: "Temporal.Duration <P73DT4H0.0S>"}
Note that the
_repr_
is only for debugging the pre-production polyfill. It's not present in the 262 spec so fixing this won't affect the spec.The text was updated successfully, but these errors were encountered: