Refactoring by Martin Fowler and Kent Beck. I’ve read the original Java version, they did a JS revision soon ago.
It did open my eyes for the fact that our work is not a playground and we should all be taking the gradual evolution of code very seriously. All of the techniques inside taught me to spot opportunities to make code more readable, more maintainable, and more extensible.
It was a priceless learning experience.