const vs. let vs. var: Choosing the Right Way to Declare Constants in JavaScript
JSHint, a static code analysis tool, might throw a warning when you use const for constants if it's configured for an older ECMAScript version (JavaScript's specification) that doesn't natively support const