Most APIs on the web that take an object, immediately access all the keys they're interested in, then discard the object.
One weird exception is addEventListener:
Want to optimize your JavaScript bundles? Try the Lighthouse Treemap in @ChromeDevTools & PageSpeed to find & replace large dependencies. Great for visualizing what's in the JS you ship: https://t.co/WOK3kn4tJH
Tip: Shave up to 90% off the size of Google Fonts by declaring only characters you need with &text: https://t.co/UNG4W0x01v. If self-hosting, see https://t.co/Ps3V5xmMqu
*Must read* for web developers: how modern browsers work by @kosamari
1️⃣ https://t.co/2BzopOug4f
2️⃣ https://t.co/0lJCl25O4j
3️⃣ https://t.co/iuRlwaba3j
4️⃣ https://t.co/FYhCmhB9Hs
and https://t.co/rlPc8Y8mKn by @BrowserBook
ICYMI: "Learning Patterns" https://t.co/qNsCE9tsIF is a free 435+ page book on JavaScript + React design & performance patterns from @lydiahallie and I. On the web, ePub & PDF. ~1 million views so far. We hope it's helpful!
CSS Scroll Snap: https://t.co/6qkWfvlnCK ~ lock the viewport to certain elements after the user finishes scrolling. Ace for advanced interactions. Also see https://t.co/Q5AiH2lPTn to learn more. h/t @argyleink@una@maxkoehler
Tip: You can name capture groups for Regular Expressions in JavaScript. Define a named capture in angle brackets <> and they get returned under .groups
A full free Stanford course on Web Security: https://t.co/KESo3JIIXi & all the videos too: https://t.co/OjRyCqTWjt by @feross
🍪 HTTP(S), Cookies, Sessions
🛡 Same Origin Policy
👿 Cross-Site Scripting (XSS)
☠️ Cross-Site Script Inclusion
🔑 WebAuthn
and more.