Skip to main content
Ambient.Impact

Main navigation

  • Web dev
    • Snippets
    • Essays
    • Components
    • Resources
    • Tags
  • Portfolio
  • Gaming
    • Specs
    • About
    • Linux
    • Elite Dangerous
  • About
  • Contact

Breadcrumb

  1. Web development
  2. Snippets

Robust Client-Side JavaScript - A Developer's Guide

This is an excellent, excellent collection of best practices on how to make your JavaScript more fault-tolerant, by Mathias Schäfer. Several sections deserve their own snippets:

  • The browser as a runtime environment
  • Failing fast
  • NaN is contagious
  • Conditional statements and truthy values
  • Duck typing
  • Strict Mode
  • Abstraction libraries
  • Error logging
Source link
Robust Client-Side JavaScript – A Developer’s Guide · molily
Tags
JavaScript
JavaScript - Feature detection
JavaScript - Strict mode
JavaScript - Errors and logging
ECMAScript
jQuery
Duck typing
Progressive enhancement
Resiliency
Beginner stuff
Best practices
Web standards
  1. Find me on GitLab
  2. Find me on GitHub
  3. Find me on Drupal.org
  4. Find me on Mastodon
  5. Find me on Bluesky
  6. Find me on Steam
  7. Find me on YouTube