process: changed var to const in internal/process/promises

PR-URL: https://github.com/nodejs/node/pull/8620
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jackson Tian <shvyo1987@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
pull/8567/head
Adri Van Houdt 2016-09-17 12:59:40 +02:00 committed by James M Snell
parent 0bfd103480
commit d4bf5cac43
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ function setupPromises(scheduleMicrotasks) {
}
function rejectionHandled(promise) {
var hasBeenNotified = hasBeenNotifiedProperty.get(promise);
const hasBeenNotified = hasBeenNotifiedProperty.get(promise);
if (hasBeenNotified !== undefined) {
hasBeenNotifiedProperty.delete(promise);
const uid = promiseToGuidProperty.get(promise);