JavaScript

JavaScript #

How arrays are internally implemented in v8 #

V8 Deep Dives - Understanding Array Internals

Algorithms #

date-fns a modern Javascript date utility library (Moment.js replacement) #

Example

import { parseISO, format } from 'date-fns';

function formatDt(dateString: string) {
  const date = parseISO(dateString);
  return format(date, 'LLLL d, yyyy'); // e.g. January 1, 2023
}

Detect circular dependencies in typescript/next/javascript #

npx madge --circular --extensions ts,tsx src/

JSONata - JSON query and transformation language #

Articles #