Skip to content

Commit 7826e83

Browse files
authored
Merge pull request #2897 from joaquinelio/patch-9
mdn link
2 parents 603170b + 11e8294 commit 7826e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ Please note that an empty or a space-only string is treated as `0` in all numeri
333333

334334
```smart header="Compare with `Object.is`"
335335

336-
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:
336+
There is a special built-in [`Object.is` method](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is) that compares values like `===`, but is more reliable for two edge cases:
337337

338338
1. It works with `NaN`: `Object.is(NaN, NaN) === true`, that's a good thing.
339339
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.

0 commit comments

Comments
 (0)