Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

About repl used in eval file #58

Open
monsterooo opened this issue Sep 1, 2020 · 0 comments
Open

About repl used in eval file #58

monsterooo opened this issue Sep 1, 2020 · 0 comments

Comments

@monsterooo
Copy link

I used the following code

root@d8e8da54e076:/gocode/src/github.com/replit/prybar# prybar-nodejs -i /home/runner/index.js
Node v8.10.0 on linux
abc
--> s
ReferenceError: s is not defined
--> 
// index.js
var s = "abc";
console.log(s);

The problem is that the variable s cannot be accessed in the repl

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant