Rewriting loops in JS to prevent users crashing their browser tab: https://repl.it/site/blog/infinite-loops It's a neat use of Babel, but it shows the value of sandboxes that expose this feature.