This repository explores upcoming JavaScript (ECMAScript 2026) features and practical modernizations.
This exploration focuses on updating numerical reduction patterns across the codebase by using a precise summation helper instead of raw reduce.
Previously:
const arr = [0.1, 0.2, 0.3];
arr.reduce((a, b) => a + b) // 0.6000000000000001Now:
Math.sumPrecise([0.1, 0.2, 0.3]) // 0.6This feature is intended to reduce floating-point rounding errors and improve numeric stability in JavaScript projects.
This repository includes a TypeScript build exploration under ts-build/.
The sample project demonstrates:
- TypeScript decorators with
experimentalDecorators - Bundling with
esbuild - Serving the output with a simple local development server
Run the demo from ts-build/ using the provided scripts in ts-build/package.json.
This commit focuses on the new jsonModules feature introduced in ES2025.
git checkout jsonModules- Iterator Helpers Proposal (TC39-Stage 4) – Adds handy methods like
map,filter,take, and more to JavaScript'sIteratorprototype via a standard-stage TC39 proposal. (GitHub repo)
The following links document a developer-led exploration carried out as part of regular learning, covering an issue related to arrow functions in Angular templates and how it was fixed in the Angular framework.