Showing only previous output

I recently starting javascript.iam facing a problem whenever I run my javascript code in vs code it’s showing only previous output.

No matter how many times I change my code it still showing previous code

I try even delete my vs code completely re install it again re install node js but my problem doesn’t solve