Chrome DevTools: Instant results for your JavaScript expressions
Last updated: 20th July 2020This 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
.