p 554

수빈·2023년 2월 5일
0
const a = 1 + Number.EPSILON;
console.log( a - 1 === Number.EPSILON );
// 트루

const b = 1 + Number.MIN_VALUE;
console.log( b - 1 === Number.MIN_VALUE);
// 뽈쓰

Number.EPSILON 전투용
Number.MIN_VALUE 관상용

0개의 댓글