TypeError: Assignment to constant variable. in reactjs code example Example: assigment constant variable assigment constant variable reason :- const solution:-let