What are numeric separators?
When working with large numbers it can be hard to read them out, try to read this value for example:
A blog about writing JavaScript/ECMAScript and programming as close to the standards as possible.
When working with large numbers it can be hard to read them out, try to read this value for example:
Arrays are as central to JavaScript as in many other languages, in this article we will go through the most useful array methods along with creative usage examples.
The flux pattern has proved useful for more complex applications. The Redux npm package has been used extensively in React applications for years but can also be used in similar ways with LitElement style web components.
The native Intl.NumberFormat API lets you format numbers for specific languages without any external dependencies.
The native Intl.RelativeTimeFormat API can generate nicely formatted relative date/time strings without any external dependencies.
When working a lot on dynamic Web Component apps I have often stumbled on cases where the element properties will be defined by the end-users. To prevent errors when selecting these elements they need to be properly escaped to work with any character.
We live in a data-driven world, consistently transferring data from one location to another. In this brief tutorial, I will show you how to extract pdf content using PDF.js. This npm package will help you roll out custom pdf extraction logic or an interface to explore pdf data.
While we have CustomEvent for all of our events that need to carry data the need for the detail property nesting can feel a bit cumbersome.
These top tips and tricks will help you dramatically increase your productivity while coding in any JavaScript project.
Gone are the days where you had to add incremental nullish (undefined or null) checks when fetching values in nested objects. Let's do more with less code.