Skip to content

Commit 98e7e6b

Browse files
authored
minor fixes
1 parent 2901e0c commit 98e7e6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

1-js/05-data-types/02-number/article.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In modern JavaScript, there are two types of numbers:
44

55
1. Regular numbers in JavaScript are stored in 64-bit format [IEEE-754](https://en.wikipedia.org/wiki/IEEE_754-2008_revision), also known as "double precision floating point numbers". These are numbers that we're using most of the time, and we'll talk about them in this chapter.
66

7-
2. BigInt numbers, to represent integers of arbitrary length. They are sometimes needed, because a regular number can't safely exceed <code>2<sup>53</sup></code> or be less than <code>-2<sup>53</sup></code>. As bigints are used in few special areas, we devote them a special chapter <info:bigint>.
7+
2. BigInt numbers represent integers of arbitrary length. They are sometimes needed because a regular number can't safely exceed <code>2<sup>53</sup></code> or be less than <code>-2<sup>53</sup></code>. As bigints are used in few special areas, we devote them a special chapter <info:bigint>.
88

99
So here we'll talk about regular numbers. Let's expand our knowledge of them.
1010

@@ -305,7 +305,7 @@ They belong to the type `number`, but are not "normal" numbers, so there are spe
305305
alert( isNaN("str") ); // true
306306
```
307307

308-
But do we need this function? Can't we just use the comparison `=== NaN`? Sorry, but the answer is no. The value `NaN` is unique in that it does not equal anything, including itself:
308+
But do we need this function? Can't we just use the comparison `=== NaN`? Unfortunately not. The value `NaN` is unique in that it does not equal anything, including itself:
309309

310310
```js run
311311
alert( NaN === NaN ); // false
@@ -399,7 +399,7 @@ A few examples:
399399
alert( Math.random() ); // ... (any random numbers)
400400
```
401401

402-
`Math.max(a, b, c...)` / `Math.min(a, b, c...)`
402+
`Math.max(a, b, c...)` and `Math.min(a, b, c...)`
403403
: Returns the greatest/smallest from the arbitrary number of arguments.
404404

405405
```js run

0 commit comments

Comments
 (0)