Skip to content

Implement "eager evaluation" in the REPL #20977

Closed
@benjamingr

Description

Hi, V8 has a basic way to detect side-effects and they use it for eager evaluation in the devtools.

It would be cool to allow for similar behaviour in our REPL. For clarity, here is the image of Chrome 68's behaviour:

image

(Image copyright (CC BY 3.0) Google Developer blog "What's New In DevTools (Chrome 68)" by Kayce Basques @kaycebasques )

@nodejs/repl

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    discussIssues opened for discussions and feedbacks.feature requestIssues that request new features to be added to Node.js.replIssues and PRs related to the REPL subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions