-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REPL .delete meta command #37962
Comments
@Ayase-252 @Annihil Hey! whats the status of this feature request? is this something that should be worked on ? |
@Annihil Also fix typo in title 'delete' |
I think it would be nice to have such a feature. But I don't know whether it is feasible in Node.js. It may need some assessments from the core team. As far as I know, console in Chrome dev tool has support to redeclare
cc @nodejs/repl |
@Ayase-252 I can't see why wouldn't it be feasible, I'll give a look into it. :) |
This is pretty much a duplicate of #8309. I am going to close it as such. I guess redeclaring by default would be favorable. To support redeclaring |
Is your feature request related to a problem? Please describe.
Please describe the problem you are trying to solve.
Describe the solution you'd like
Please describe the desired behavior.
Describe alternatives you've considered
Please describe alternative solutions or features you have considered.
repl.start()
and.clear
but this work around is not satisfactory in my opinion.var a = 1
butvar
behaves differently fromlet
orconst
identifiers so not satisfactory either imo.The text was updated successfully, but these errors were encountered: