Video yükleniyor...
Video Yüklenemedi
🔥 4 JavaScript console tips: $, $$, $0 → $4 and $_
169,309 görüntüleme • 3 yıl önce •via X (Twitter)
10 Yorum

Amazing how you are fitting so much in such short video! Well done as always @wesbos 👏🏼

thanks!

Very cool

Interesting, almost like jQuery but on the browser console.

Damn! Those are good ones, going to try and use em today.

Nice tips, Wes! I wrote the following a while ago and, in case it helps, $r or $vm0 return the respective React or Vue components too:

Maybe worth mentioning this is a feature in the @ChromeDevTools console only. This is not part of the JS spec. So it does not work in Node or any other environments.

I had no idea until literally last week! My knowledge has only gone as far as $0. Have always been typing the full document.querySelector() bs...

I never knew beyond the single $. Thanks for so many tips in only one video!

You can also use copy() function to copy something to the clipboard from the console.
Benzer Videolar
4 Tips to Relieve Neck Pain & Trapezius Tension💆♂️🔥
Cardio Arena
169,293 görüntüleme • 11 ay önce
