내부적으로 이렇게 처리할 줄이야..
A number literal like 37 in JavaScript code is a floating-point value, not an integer. There is no separate integer type in common everyday use. (JavaScript also has a BigInt type, but it's not designed to replace Number for everyday uses. 37 is still a number, not a BigInt.) |
[링크 : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number]
'Programming > javascript & HTML' 카테고리의 다른 글
canvas 없는 getcontext (0) | 2023.07.12 |
---|---|
html canvas와 시간 그래프 흘리기 (0) | 2023.07.06 |
websocket binarytype (0) | 2023.04.04 |
자바스크립트 소수점 자르기 (0) | 2023.03.13 |
Math.min.apply() (0) | 2023.02.07 |