diff options
Diffstat (limited to 'test/parallel/test-writeint.js')
-rw-r--r-- | test/parallel/test-writeint.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-writeint.js b/test/parallel/test-writeint.js index 43784fb390..ed95e7876e 100644 --- a/test/parallel/test-writeint.js +++ b/test/parallel/test-writeint.js @@ -6,7 +6,7 @@ require('../common'); const assert = require('assert'); function test8(clazz) { - var buffer = new clazz(2); + const buffer = new clazz(2); buffer.writeInt8(0x23, 0); buffer.writeInt8(-5, 1); @@ -38,7 +38,7 @@ function test8(clazz) { function test16(clazz) { - var buffer = new clazz(6); + const buffer = new clazz(6); buffer.writeInt16BE(0x0023, 0); buffer.writeInt16LE(0x0023, 2); @@ -91,7 +91,7 @@ function test16(clazz) { function test32(clazz) { - var buffer = new clazz(8); + const buffer = new clazz(8); buffer.writeInt32BE(0x23, 0); buffer.writeInt32LE(0x23, 4); |