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

6452 readers received the last Web Weekly 5 days ago. Join the fun!

Most popular posts

  • Can we have custom media queries, please?
  • Web content, the social contract and copyrights
  • Intl can localize units, too!
  • em and strong are not announced by screen readers
  • The scope of type guards and assertion functions
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

  • How to style the found search / "find in page" substrings
  • git branch can show more than only the name of branches
  • How to extract images (and media files) from Word and Keynote documents
  • Chrome and Edge provide a highly visible focus outlines
  • How to apply a global Git commit template
  • Proper Tail Calls (PTC) in JavaScript

Popular articles

  • Can we have custom media queries, please?
  • Web content, the social contract and copyrights
  • Intl can localize units, too!

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.

♥️