javascript typeerror assignment to constant variable code example Example: assigment constant variable assigment constant variable reason :- const solution:-let