Skip to content

Commit ab1b6de

Browse files
formatting
1 parent 162280b commit ab1b6de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ Please note that an empty or a space-only string is treated as `0` in all numeri
324324

325325
```smart header="Compare with `Object.is`"
326326

327-
There is a special built-in method [Object.is](mdn:js/Object/is) that compares values like `===`, but is more reliable for two edge cases:
327+
There is a special built-in method [`Object.is`](mdn:js/Object/is) that compares values like `===`, but is more reliable for two edge cases:
328328

329329
1. It works with `NaN`: `Object.is(NaN, NaN) === true`, that's a good thing.
330330
2. Values `0` and `-0` are different: `Object.is(0, -0) === false`, technically that's true, because internally the number has a sign bit that may be different even if all other bits are zeroes.
@@ -417,7 +417,7 @@ To write numbers with many zeroes:
417417

418418
For different numeral systems:
419419

420-
- Can write numbers directly in hex (`0x`), octal (`0o`) and binary (`0b`) systems
420+
- Can write numbers directly in hex (`0x`), octal (`0o`) and binary (`0b`) systems.
421421
- `parseInt(str, base)` parses the string `str` into an integer in numeral system with given `base`, `2 ≤ base ≤ 36`.
422422
- `num.toString(base)` converts a number to a string in the numeral system with the given `base`.
423423

0 commit comments

Comments
 (0)