Spent 3 hours debugging a function that was fine, the bug was in my browser tab
Last Thursday I was losing my mind over a JS function that kept returning the wrong total, so I added like 9 console.logs and rewrote the loop twice. My buddy came over, glanced at my screen, and asked why I had the file saved as an old copy in a second tab. Turned out I was editing index.html while the browser was still pointing at index-old.html from a test I did days before. Three hours gone because I never looked at the tab title. Does anyone else keep random old tabs open or am I the only one who does this?