Answer the question
In order to leave comments, you need to log in
How to make variables in js that cannot be changed through the console?
How to make variables in js that cannot be changed through the console?
Answer the question
In order to leave comments, you need to log in
declare as a constant
const hu = 'j'
hu = 'ja'
// VM158:3 Uncaught TypeError: Assignment to constant variable.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question