blocktrail /
blocktrail-sdk-nodejs
| 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
|
|||
| 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.