Closed
Description
I just installed Node 11.9.0 for Windows, fired it up with node
and then ran:
> [1,[2,[3]]].flat()
[ 1, 2, [ 3 ] ]
>▐
I then tapped the "up" cursor, except nothing showed up. I then continued:
> [1,[2,[3]]].flat()
[ 1, 2, [ 3 ] ]
> [4,[5,[6]]].flat()
[ 4, 5, [ 6 ] ]
>▐
I then tapped the "up" cursor key again, and got this:
> [1,[2,[3]]].flat()
[ 1, 2, [ 3 ] ]
> [4,[5,[6]]].flat()
[ 4, 5, [ 6 ] ]
> [1,[2,[3]]].flat()▐
So for some reason, the nodejs console history is skipping whatever code has just been run, which feels like a classic off-by-one bug.
Metadata
Metadata
Assignees
Labels
No labels