Số.EPSILON thuộc tính của Số đối tượng đại diện cho sự khác biệt giữa 1 và số dấu phẩy động nhỏ nhất lớn hơn 1.
Cú pháp
Cú pháp của nó như sau
Number.EPSILON
Ví dụ
<html>
<head>
<title>JavaScript Example</title>
</head>
<body>
<script type="text/javascript">
var result = Number.EPSILON;
document.write("Value of the epsilon : " + result);
</script>
</body>
</html> Đầu ra
Value of the epsilon: 2.220446049250313e-16