Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

🔥 4 JavaScript console tips: $, $$, $0 → $4 and $_

169,309 görüntüleme • 3 yıl önce •via X (Twitter)

10 Yorum

Sam Sedighian profil fotoğrafı
Sam Sedighian3 yıl önce

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

Wes Bos profil fotoğrafı
Wes Bos3 yıl önce

thanks!

Corey Salzano profil fotoğrafı
Corey Salzano3 yıl önce

Very cool

Gonçalo Dias profil fotoğrafı
Gonçalo Dias3 yıl önce

Interesting, almost like jQuery but on the browser console.

Neil Chudleigh profil fotoğrafı
Neil Chudleigh3 yıl önce

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

Catalin Rosu profil fotoğrafı
Catalin Rosu3 yıl önce

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:

Marco Biedermann profil fotoğrafı
Marco Biedermann3 yıl önce

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.

Not Penny’s Boat 🛥️ profil fotoğrafı
Not Penny’s Boat 🛥️3 yıl önce

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...

Marcel Cruz profil fotoğrafı
Marcel Cruz3 yıl önce

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

Matvey profil fotoğrafı
Matvey3 yıl önce

You can also use copy() function to copy something to the clipboard from the console.

Benzer Videolar