Chrome’s developer console tab is great for playing around to understand or troubleshoot a web application. The other day I wanted to enter more than just a simple one line expression in the console. In this case I wanted to define a whole function across several lines. I wasn’t sure if that was possible. Turns out it is.