Skip to content
  • Home
  • Articles
  • Screencasts
  • Projects
  • About
  • Resources
  • Screencasts
  • Today I learned
  • Things I use
  • Talks
  • Newsletter
  • Home Home
  • Articles Articles
  • Screencasts Screencasts
  • Projects Projects
  • About About
  • Newsletter
  • Other Stuff
    • Blogroll People blogging great stuff.
    • Resources Bookmarks I want to keep for later.
    • Show some love Support my blog and newsletter.
    • Talks Talks I've given at conferences.
    • Things I use My hardware and software setup.
    • Today I learned 213 #TIL posts.
Stefan on Mastodon Stefan on Twitter RSS

Topic: JavaScript โ€“ Page 22

  1. Conditional properties with object spread

    Published Mar 29 2017 in JavaScript

    I learned about a nifty trick that can help me to realize conditional properties in JS objects.

  2. Completion values in JavaScript

    Published Mar 19 2017 in JavaScript

    I learned about the crazy concept of completion values in JavaScript.

  3. var let = 12 is valid JavaScript

    Published Mar 16 2017 in JavaScript

    I learned that code that doesn't look valid can be valid... sometimes.

  4. finally in a try/catch statements really goes over everything

    Published Mar 08 2017 in JavaScript

    I learned that the 'finally' part of a try/catch has the last word in everything

  5. Skipped holes in JavaScript Arrays

    Published Mar 04 2017 in JavaScript

    I learned that it's possible to have holes in JavaScript arrays and how these holes can change overall behavior.

More JavaScript content

  1. Previous page
  2. Page 22 of 24
  3. Next page

Most popular posts

  • A new method to validate URLs in JavaScript (2023 edition)
  • How to import JSON files in ES modules (Node.js)
  • APIs to generate random user avatars
  • Top-level await is available in Node.js modules
  • How to use headless Chrome in serverless functions with a 50MB limit
Read popular posts

Weekly newsletter

Weekly newsletter all around web development

Get weekly news

TIL: Today I learned in Web Dev

  • How to escape CSS selectors in JavaScript
  • Self-closing tags are mostly meaningless in HTML
  • How to use EventTarget as a web-native event emitter
Learn something new

Blogroll

15 random RSS feeds I'm subscribed to. ๐Ÿ‘‡

Discover fantastic blogs

Other stuff

Topics

  • JavaScript (117 posts)
  • CSS (89 posts)
  • Tools (56 posts)
  • HTML (41 posts)
  • Bash (40 posts)
  • NodeJS (35 posts)
  • Accessibility (27 posts)
  • Web (22 posts)
  • git (20 posts)
  • Performance (19 posts)
  • macOS (15 posts)

Web Dev Learnings

  • Not every JavaScript function is constructable
  • addEventListener accepts functions and (!) objects
  • Force pushing git branches with a safety net
  • String.prototype.normalize for safer string comparison
  • Size container queries can detect landscape / portrait orientation
  • Package.json values are accessible in npm/yarn scripts

Popular articles

  • A new method to validate URLs in JavaScript (2023 edition)
  • How to import JSON files in ES modules (Node.js)
  • APIs to generate random user avatars

Recently updated resources

  • Timeless articles
  • Job hunt and interviewing
  • A Firefox-only minimap
ยฉ 2023 Copyright Stefan Judis. All rights reserved.
โ™ฅ๏ธ