diff --git a/README.md b/README.md index 94e7fa2c..acb686e3 100644 --- a/README.md +++ b/README.md @@ -102,8 +102,8 @@ for (var i = 0; i < 525600; i++) { **Good**: ```javascript -// Declare them as capitalized `var` globals. -var MINUTES_IN_A_YEAR = 525600; +// Declare them as capitalized `const` globals. +const MINUTES_IN_A_YEAR = 525600; for (var i = 0; i < MINUTES_IN_A_YEAR; i++) { runCronJob(); }