Sobes.tech
Intern

What is a constant?

sobes.tech AI

Answer from AI

A constant is a named value whose value cannot be overridden after initialization. It is used to store values that remain unchanged throughout the program or a specific block of code.

// Declaring a constant in JavaScript
const PI = 3.14159;