diff options
Diffstat (limited to 'lib/assert.js')
-rw-r--r-- | lib/assert.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/assert.js b/lib/assert.js index 863651d2dc..aa3f0a3c83 100644 --- a/lib/assert.js +++ b/lib/assert.js @@ -25,14 +25,14 @@ 'use strict'; // UTILITY -var util = require('util'); -var pSlice = Array.prototype.slice; +const util = require('util'); +const pSlice = Array.prototype.slice; // 1. The assert module provides functions that throw // AssertionError's when particular conditions are not met. The // assert module must conform to the following interface. -var assert = module.exports = ok; +const assert = module.exports = ok; // 2. The AssertionError is defined in assert. // new assert.AssertionError({ message: message, |