13:54 | <тars> | Is https://tc39.es/ecma262/#sec-ecmascript-language-types-number-type |
13:59 | <jmdyck> | No, NaN isn't finite. That section introduces the 3 special values (NaN and the infinities), and then says "The other values are called the 'finite' values." |
14:04 | <jmdyck> | Are you suggesting that "other" could be read as "other than the 2 infinities", rather than "other than the 3 values introduced above"? |
14:08 | <тars> | Oh, I see. It's crystal clear now! Thank you very much.
Yes I thought so, but I understand "other" means 3 special values above now. Thanks. |
14:08 | <jmdyck> | no problem. |
14:17 | <Ashley Claymore> | can also verify via: Number.isFinite(NaN) |
14:35 | <тars> | Thanks! Actually, I had noticed and tried that and was about 80~90% sure NaN is not finite, but their definition is like If number is not finite, return false. and I didn't get what "not finite" really meant there. So that also made me wonder. lol |