Loosen -0 and 0 checks.

This commit is contained in:
jdalton
2015-04-30 22:10:52 -07:00
parent 0ea1fc5602
commit 566781cab2
3 changed files with 169 additions and 83 deletions

View File

@@ -129,6 +129,12 @@
'extend': [
'extend copies all properties from source'
],
'isEqual': [
'`0` is not equal to `-0`',
'Commutative equality is implemented for `0` and `-0`',
'`new Number(0)` and `-0` are not equal',
'Commutative equality is implemented for `new Number(0)` and `-0`'
],
'isFinite': [
'Numeric strings are numbers',
'Number instances can be finite'