20,600 results
Open links in new tab
  1. JavaScript Const - W3Schools

    When to use JavaScript const? Always declare a variable with const when you know that the value should not be changed. Use …Read more

  2. const - JavaScript | MDN - MDN Web Docs

    Nov 17, 2026 · The const declaration declares block-scoped local variables. The value of a constant can't be changed through …Read more

  3. JavaScript Const - W3Schools

    When to use JavaScript const? Always declare a variable with const when you know that the value should not be changed. Use …Read more

  4. JavaScript const - GeeksforGeeks

    Jun 11, 2026 · The const keyword in JavaScript is a modern way to declare variables, introduced in (ES6). It is used to declare …Read more

  5. What does Const Do in JavaScript - GeeksforGeeks

    Jun 5, 2024 · Declaring a Constant Variable The const keyword in JavaScript is primarily used for declaring constants. The value of a …Read more

  6. JavaScript const — JavaScript — jsschools

    Home › JavaScript › JS Basic › JavaScript const A Variable That Won't Change JavaScript const The `const` keyword declares a …Read more

  7. JavaScript - Constants - Online Tutorials Library

    Constant Arrays and Objects in JavaScript We can declare the arrays and objects using the const keyword, but there is a little twist …Read more

  8. JavaScript const: Declaring Constants in ES6

    This tutorial shows you how to use the JavaScript const keyword to declare constants whose values are immutable.

  9. JavaScript const Statement: Syntax & Examples

    Jun 23, 2026 · JavaScript const declares a variable that can't be reassigned. Learn why objects are still mutable, const vs let, and …Read more

  10. javascript - Proper use of const for defining functions - Stack Overflow

    Are there any limits to what types of values can be set using const in JavaScript, and in particular, functions? Is this valid? Granted it …Read more