8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0ac10e commit ce8fb9eCopy full SHA for ce8fb9e
app.js
@@ -3,12 +3,16 @@ const expect = chai.expect;
3
4
describe('Object', function () {
5
6
- it('should consider positive and negative values to be different', function(done){
+ it('should consider Object.is() to return false on positive and negative zero', function (done) {
7
8
- expect(-0).to.equal(0);
9
- expect(Object.is(0, -0)).to.equal(false);
+ expect(Object.is(0, -0)).to.equal(false);
+ done();
10
+ });
11
- done();
12
- });
+ it('should consider tripple assignment operator to return true on positive and negative zero', function (done) {
13
+
14
+ expect(-0 === 0).to.equal(true);
15
16
17
18
});
0 commit comments