Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 8 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 1 |
1 | var assert = require('assert'); |
||
2 | |||
3 | describe('buffer', function() { |
||
4 | it("should reverse", function() { |
||
5 | var b = new Buffer('010203', 'hex'); |
||
|
|||
6 | assert.equal(b.reverse().toString('hex'), '030201'); |
||
7 | }); |
||
8 | }); |
||
9 |
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.