JS・TSにおけるconsole.log()の実行結果の差異を吸収する
#57
Closed
AXT-AyaKoto
started this conversation in
Ideas
Replies: 1 comment
-
|
うまいこと解決できたのでver1.1.1でリリースされます close! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
元 #39 → Discussion行き
console.log([NaN, Infinity])→[ null, null ]NaNやInfinityになりますconst s = new Set<number>(); s.add(1); s.add(2); console.log(s);→{}0が+0として出力されてしまうのはあんまりよくなくて、回避するならSetとMapのSizeを犠牲にobject-inspectを採用したほうがきれいに見える[NaN]とかが渡せないんじゃないか……?Beta Was this translation helpful? Give feedback.
All reactions