diff options
author | cjihrig <cjihrig@gmail.com> | 2015-01-21 11:36:59 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2015-01-21 16:21:31 -0500 |
commit | 804e7aa9ab0b34fa88709ef0980b960abca5e059 (patch) | |
tree | 4e09207abd54e30bd62459e43e2f9219619a7256 /lib/domain.js | |
parent | 803883bb1a701da12c285fd735233eed7627eada (diff) | |
download | node-new-804e7aa9ab0b34fa88709ef0980b960abca5e059.tar.gz |
lib: use const to define constants
This commit replaces a number of var statements throughout
the lib code with const statements.
PR-URL: https://github.com/iojs/io.js/pull/541
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'lib/domain.js')
-rw-r--r-- | lib/domain.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/domain.js b/lib/domain.js index e65ba53ef8..c666fb5950 100644 --- a/lib/domain.js +++ b/lib/domain.js @@ -5,9 +5,9 @@ // No new pull requests targeting this module will be accepted // unless they address existing, critical bugs. -var util = require('util'); -var EventEmitter = require('events'); -var inherits = util.inherits; +const util = require('util'); +const EventEmitter = require('events'); +const inherits = util.inherits; // communicate with events module, but don't require that // module to have to load this one, since this module has |