



sqrt is square root( 제곱근)

1부터 6까지 랜덤

Math.trunc(23.3) 결과 23
소수점 없앰
Math.round(23.3) 결과 23
Math.round(23.9) '' 24
Math.ceil(23.3) '' 24
소수점이 존재하면 무조건 올림
Math.floor(23.3) 무조건 내림
also type coercion
So basically floor and trunc, both cut off the decimal part when we are dealing with positive numbers.
However, for negative numbers, it doesn't work this way.
Math.trunc(-23.3)); -> -23
Math.floor(-23.3)); -> -24
The Remainder Operator
Working with BigInt
Creating Dates


Adding Dates to "Bankist" App
Operations With Dates
15min
Internationalizing Dates (Intl)
17min
Internationalizing Numbers (Intl)
19min
Timers: setTimeout and setInterval
14min
Implementing a Countdown Timer