Chrome DevTools: Instant results for your JavaScript expressions

Last updated: April 27, 2018
Instant results for your JavaScript expressions

This feature gives you instant results for many side effect free JavaScript expressions. For example, you can type the following in the Console Panel:

`2 + 2 = ${2 + 2}`

And observe the result is:

"2 + 2 = 4"

Without having to hit enter.

Results are displayed as you type which makes this a powerful debugging tool.

This is a hidden experimental feature named Console below-prompt UI.

Sign up to receive a developer tip, in the form of a gif, in your inbox each week