Issues (615)

test/buffer.test.js (1 issue)

1
var assert = require('assert');
2
3
describe('buffer', function() {
4
    it("should reverse", function() {
5
        var b = new Buffer('010203', 'hex');
0 ignored issues
show
The variable Buffer seems to be never declared. If this is a global, consider adding a /** global: Buffer */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
6
        assert.equal(b.reverse().toString('hex'), '030201');
7
    });
8
});
9