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. Measuring execution time more precisely in the Browser and Node.js

    Published Sep 18 2017 in JavaScript , NodeJS

    It's always good to know how much time code needs to be executed. Today I learned there is a more precise way than using the Date object.

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

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

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

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

More JavaScript content

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

Weekly Frontend News

6472 readers received the last Web Weekly 21 days ago. Join the fun!

Most popular posts

  • em and strong are not announced by screen readers
  • Can we have custom media queries, please?
  • The short version of 'git status' and the close but different '--porcelain' mode
  • The "inert" attribute is finally coming to the web
  • How to prerender Tweets without using the official Twitter APIs
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 132 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
  • Performance 20 posts

Random Web Dev Learnings

  • npm install supports local packages and dependencies
  • light-dark() isn't always the same as prefers-color-scheme
  • How to style the select button of file inputs
  • Navigate your shell history with CTRL keys
  • macOS offers a tool to remove backgrounds from images
  • How to discard tabs to save resources in Chrome, Edge and Firefox

Popular articles

  • em and strong are not announced by screen readers
  • Can we have custom media queries, please?
  • 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.

♥️