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 in Canary named Console below-prompt UI.
Console below-prompt UI
No comments:
Post a Comment