I'm using babel-node for execute this simple statement:
let obj = {};
But when i run, the following error appears:
SyntaError: repl: Only 'var' variables are supported in repl
I tried to run 'var' rather than 'let', but it appeared :
undefined
then i cannot access the variable
Aucun commentaire:
Enregistrer un commentaire