0
0

TS: 特徴

Posted at

数値型(number)はIEE 754倍精度浮動小数点

54bit = 2** 54 = 9007199254740993

console.log(9007199254740993);
結果
9007199254740992

演算子== は使わない

case: ==

target: string = '10'

console.log(target == 10);
結果
true

case: ===

target: string = '10'

console.log(target === 10);
結果
false
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0