Skip to content

Commit

Permalink
Object.is() treats -0 and +0 as unequal
Browse files Browse the repository at this point in the history
  • Loading branch information
alisey committed Nov 27, 2015
1 parent c1a4802 commit ae00c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ Apologies about that long table of contents, and here we go.
# `Object`

- [`Object.assign`](https://ponyfoo.com/articles/es6-object-changes-in-depth#objectassign) -- recursive shallow overwrite for properties from `target, ...objects`
- [`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`
- [`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`
- [`Object.getOwnPropertySymbols`](https://ponyfoo.com/articles/es6-object-changes-in-depth#objectgetownpropertysymbols) -- returns all own property symbols found on an object
- [`Object.setPrototypeOf`](https://ponyfoo.com/articles/es6-object-changes-in-depth#objectsetprototypeof) -- changes prototype. Equivalent to `Object.prototype.__proto__` setter
- See also [Object Literals](#object-literals) section
Expand Down

0 comments on commit ae00c05

Please sign in to comment.