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

About repl used in eval file #58

Description

@monsterooo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions