You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run into the issue quite frequently that I've written a function which I want to edit. It's very convenient to be able to press the up arrow and get the whole definition again, but it doesn't seem to be very effective, as the new function body is completely ignored.
There are, of course, workarounds for this, like choosing a new name for the function or always assigning the function to a variable (let func = function () { ... }), but this is a bit inconvenient.
Would it be difficult to make new name definitions override the previous one, similar to what happens in a browser console?
Other than that, fantastic job with this program! It's much better than the default Node.js REPL and it seems to be the best one out there.
The text was updated successfully, but these errors were encountered:
I run into the issue quite frequently that I've written a function which I want to edit. It's very convenient to be able to press the up arrow and get the whole definition again, but it doesn't seem to be very effective, as the new function body is completely ignored.
There are, of course, workarounds for this, like choosing a new name for the function or always assigning the function to a variable (
let func = function () { ... }
), but this is a bit inconvenient.Would it be difficult to make new name definitions override the previous one, similar to what happens in a browser console?
Other than that, fantastic job with this program! It's much better than the default Node.js REPL and it seems to be the best one out there.
The text was updated successfully, but these errors were encountered: