mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
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>
This commit is contained in:
parent
803883bb1a
commit
804e7aa9ab
48 changed files with 392 additions and 405 deletions
|
@ -2,8 +2,8 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
var QueryString = exports;
|
||||
var util = require('util');
|
||||
const QueryString = exports;
|
||||
const util = require('util');
|
||||
|
||||
|
||||
// If obj.hasOwnProperty has been overridden, then calling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue