Friday, April 27, 2018

Dev Tips: DevTools: Instant results for your JavaScript expressions with an improved Console Panel

Dev Tips

 

DevTools: 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 in Canary named Console below-prompt UI.


If you have any troubles viewing this animated gif, check out: umaar.com/dev-tips/168-instant-console
Tweet
Share
+1
Email Marketing Powered by MailChimp

Copyright © 2018 Umar, All rights reserved.
You are receiving this email because you signed up for Dev Tips.

unsubscribe from this list    update subscription preferences 

No comments:

Post a Comment