Problem description:
Occasionally when I am coding using JavaScript I will save and try to run the code but it doesn’t run. When I check the code I see lots of errors in my code and realize that it has deleted some of my comments declarations (the /* */
). I don’t know if it is just JavaScript but so far it hasn’t deleted the //
declarations, only the /* */
. this leaves big comment blocks in my code that don’t have comment tags on them. Could it just be something I am doing?
Expected behavior:
Comments don’t delete themselves
Actual behavior:
Comments sometimes delete themselves
Steps to reproduce:
So far it hasn’t been consistently doing it. just occasionally I look and it has happened while I am coding.
Browser/OS/Device:
Opera GX Browser, Windows, HP Pavillion Laptop