Access variable.... You want to see what value it has console log it
I can't access it or log it, the variable is not defined as you can see
🆙
Because you defined the variable inside function so you can log or access it only in the function Read about " Variable scopes "
You never call the func. And don't use var
Dude, it should work there lol
But i defined the debugger inside the function When i debug like that in the browser i can access local variables
yeah it should work
Don't forget its nodejs
What node version are you using?
Обсуждают сегодня