Skip to content

Commit bc100bc

Browse files
committed
Merge pull request bevacqua#5 from alisey/patch-1
Object.is() treats -0 and +0 as unequal
2 parents c1a4802 + ae00c05 commit bc100bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ Apologies about that long table of contents, and here we go.
436436
# `Object`
437437

438438
- [`Object.assign`](https://ponyfoo.com/articles/es6-object-changes-in-depth#objectassign) -- recursive shallow overwrite for properties from `target, ...objects`
439-
- [`Object.is`](https://ponyfoo.com/articles/es6-object-changes-in-depth#objectis) -- like using the `===` operator programmatically, but also `true` for `NaN` vs `NaN` and `+0` vs `-0`
439+
- [`Object.is`](https://ponyfoo.com/articles/es6-object-changes-in-depth#objectis) -- like using the `===` operator, but `true` for `NaN` vs `NaN`, and `false` for `+0` vs `-0`
440440
- [`Object.getOwnPropertySymbols`](https://ponyfoo.com/articles/es6-object-changes-in-depth#objectgetownpropertysymbols) -- returns all own property symbols found on an object
441441
- [`Object.setPrototypeOf`](https://ponyfoo.com/articles/es6-object-changes-in-depth#objectsetprototypeof) -- changes prototype. Equivalent to `Object.prototype.__proto__` setter
442442
- See also [Object Literals](#object-literals) section

0 commit comments

Comments
 (0)