Skip to content
  • Home
  • Articles
  • Projects
  • About
  • Resources
  • Screencasts
  • Today I learned
  • Things I use
  • Talks
  • Newsletter
  • Home Home
  • Articles Articles
  • Screencasts Screencasts
  • Projects Projects
  • About About
  • 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 261 #TIL posts.
  • Newsletter
Stefan on LinkedIn Stefan on Mastodon Stefan on Bluesky RSS

Topic: JavaScript – Page 22

  1. Await in async functions works for any thenable

    Published Sep 05 2017 in JavaScript

    Today I discovered that await is more flexible than I thought because it doesn't work only on promises.

  2. isNaN is not equal Number.isNaN

    Published Aug 26 2017 in JavaScript

    In ES6 the static method isNaN was added to the Number prototype. It looks the same behaves slightly different...

  3. includes really is the better indexOf

    Published Aug 08 2017 in JavaScript

    I learned about an edge case in 'Array.prototype.indexOf' which is fixed in 'Array.prototype.includes'

  4. localeCompare helps to compare strings in a sane manner

    Published Aug 07 2017 in JavaScript

    I learned how to compare strings in a sane manner using 'String.prototype.localCompare'.

  5. IntersectionObserver accepts several threshold values

    Published Aug 06 2017 in JavaScript

    I learned that the IntersectionObserver constructor allows more than one threshold value.

More JavaScript content

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

Weekly Frontend News

6484 readers received the last Web Weekly 8 days ago. Join the fun!

Most popular posts

  • Can we have custom media queries, please?
  • em and strong are not announced by screen readers
  • The short version of 'git status' and the close but different '--porcelain' mode
  • Three input element properties that I discovered while reading MDN edited
  • Load the default OS font with CSS
Read popular posts

TIL: Today I learned in Web Dev

  • Intl can localize units, too!
  • The scope of type guards and assertion functions
  • New lines are removed from WHATWG URLs
Learn something new

Other stuff

Topics

  • JavaScript (131 posts)
  • CSS (107 posts)
  • Tools (64 posts)
  • HTML (56 posts)
  • Bash (45 posts)
  • NodeJS (42 posts)
  • Accessibility (38 posts)
  • Web (30 posts)
  • git (23 posts)
  • VSCode (21 posts)
  • macOS (20 posts)

Random Web Dev Learnings

  • Improved git workflow with fixup and autosquash
  • The NPM_CONFIG_PRODUCTION flag sets the NOVE_ENV variable to production in npm scripts
  • Open a new project in the same VS Code window
  • Top-level promise handling in Node.js ES modules
  • How to style the found search / "find in page" substrings
  • background clip is configurable for every background gradient separately

Popular articles

  • Can we have custom media queries, please?
  • em and strong are not announced by screen readers
  • The short version of 'git status' and the close but different '--porcelain' mode

Recently updated resources

  • Staying up to date
  • Writing good docs, blogs and technical articles
  • Public speaking

stefanjudis.com © 2026 by Stefan Judis is licensed under CC BY-NC-SA 4.0

All rights reserved and content created without AI.

♥️