Chrome DevTools: Watch JavaScript Expressions

Florian Hämmerle
Sep 6, 2018 · 2 min read

A few months ago, Google introduced Instant Evaluation of JavaScript Expressions in Chrome’s DevTools. Now they’ve added the ability to watch JavaScript expressions right in the console (Chrome 70).

The “eye” icon has been added to the console’s toolbar.

Clicking it shows an input field.

That features the same instant evaluation feature available in the console.

But more, it will update every time the value of the expression changes. For instant, you can add your very own clock to the console 😉.

Or watch even watch a CSS animation.

Florian Hämmerle
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade