This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis
I'm a big fan of prototyping in the JavaScript console and find myself opening the developer tools just for this purpose.
Unfortunately, console prototyping can sometimes be a little cumbersome for extensive snippets because the console isn't built for writing extended snippets spanning multiple lines. You can work around this by pressing Shift + Enter
, but still, it's not great.
Today, I was thrilled to learn that the Firefox developer tools provide a somewhat hidden multi-line console editor to write extended snippets more easily!
This feature is top DX in action! 💯 Thanks Firefox.
Reply to Stefan
This content originally appeared on Stefan Judis Web Development and was authored by Stefan Judis

Stefan Judis | Sciencx (2022-06-03T22:00:00+00:00) Firefox DevTools provide a multiline JavaScript console (#tilPost). Retrieved from https://www.scien.cx/2022/06/03/firefox-devtools-provide-a-multiline-javascript-console-tilpost/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.