miktam / sizeof

Get size of a JavaScript object

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Number size is incorrect

panuhorsmalahti opened this issue · comments

A simple unit test shows this:

  it('number size shall be 8', function() {
    sizeof(5).should.be.equal(8);
  });
1) sizeof number size shall be 8:

      AssertionError: expected 0 to be 8
      + expected - actual

      +8
      -0