Executing many automated refactorings in a row is a powerful way to improve your code quickly and safely. This blog post shows an example of how to simplify a small JavaScript function in a series of 12 automated refactorings without changing its behavior.