Skip to content

Instantly share code, notes, and snippets.

@BennisonDevadoss
Created June 1, 2022 16:47
Show Gist options
  • Save BennisonDevadoss/d871aee19b236bae55b99fe911778c7a to your computer and use it in GitHub Desktop.
Save BennisonDevadoss/d871aee19b236bae55b99fe911778c7a to your computer and use it in GitHub Desktop.
const variable = "value"
console.log(variable); //value
variable = "new value"; // This line will give an error "Uncaught TypeError: Assignment to constant variable"
@BennisonDevadoss
Copy link
Author

const keyword

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment