How to redefine a const in node REPL?

Viewed 564

I need to redefine a const in the Node REPL because I want to re-run some functions on my history. I am getting this error:

Uncaught SyntaxError: Identifier '_tareas' has already been declared

Is there a way to redefine this constant without having to close the REPL and open it again?

0 Answers
Related