"What's the typeof null?", and other confusing JavaScript Types
Explains the JavaScript typeof operator, focusing on confusing results like typeof null returning 'object' and typeof NaN returning 'number'.
Ire Aderinokun — Investor, entrepreneur, and software engineer with deep expertise in web technologies, early-stage startups, and frontier markets, focused on building and backing mission-driven companies advancing financial inclusion across Africa and emerging economies.
155 articles from this blog
Explains the JavaScript typeof operator, focusing on confusing results like typeof null returning 'object' and typeof NaN returning 'number'.
Explains why GIFs are slow on the web and offers two solutions: replacing them with HTML5 video or using lossy compression tools.
An explanation of CSS Grid Layout's core terminology, including grid containers, items, lines, columns, rows, and tracks.
Explains the CSS3 calc() function, its advantages over pre-processors, and practical usage examples for dynamic CSS values.
Explains the 5 essential rules for correctly implementing ARIA (Accessible Rich Internet Applications) attributes in HTML to improve web accessibility.
Explains the six stages of the browser's Critical Rendering Path (CRP) and how understanding it is key to improving website performance.
Explores three new CSS features for 2017: Feature Queries, Grid Layout, and Flexible Lengths, with practical code examples.
A tutorial on creating a custom Polymer web component to embed CanIUse.com browser support data into web pages.
A technical overview of client-side storage methods in web browsers, including Cookies, Local Storage, Session Storage, and IndexedDB.
Explains changes to HTML 5.1 document outlines, including deprecated nested <section> method and new rules for nesting <header> and <footer> elements.
A developer explains how they built a web app using the Canvas API to add a blue beanie to user photos for Blue Beanie Day.
Key takeaways from Chrome Dev Summit 2016, covering Web Payments API, real-device testing, and Progressive Web Apps.
Explains the differences between JavaScript's for..in and for..of loops, detailing their use cases for objects, arrays, and iterables.
A UI challenge to recreate the old iTunes library gallery using CSS transforms, focus states, and keyboard navigation.
A developer shares essential Chrome-based tools for testing and improving website accessibility, including extensions and APIs.
Final part of a PWA series, detailing client-side implementation of web push notifications using the Push API and Service Workers.
Part 2 of a PWA series: Using IndexedDB for offline data storage to enable instant loading of content in a Progressive Web Application.
A developer details building an offline-first Progressive Web App (PWA) using Service Workers to cache the app shell, part of a tutorial series.
A guide to writing effective alt text for images to improve web accessibility, covering different image types and best practices.
Explains variable and function hoisting in JavaScript, focusing on differences between var, let, and const in ES2015.