A Rust port of the Go-based TypeScript 7 compiler, built with some input from the TypeScript team and heading into Oxc. Benchmarks claim up to 8x the speed of TypeScript 7.0 and it runs in WebAssembly. Experimental, but npx tsrs works.
Chen, Mitropoulos and Nakazawa (Cloudflare / VoidZero)
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4👍3🔥1
CHALLENGE
const s = "JavaScript";
const str = new String(s);
console.log(str === s, str == s, typeof str, str.at(-1), s.at(-1));
❤2
What is the output?
Anonymous Quiz
29%
false true string t t
28%
true true string t t
29%
false true object t t
13%
false false object t t
Still in alpha since last year, one of Leaflet's contributors has forked it, rolling in the 2.0 work plus rotation, fullscreen, search, heatmaps and more – all tree-shakeable.
Simon Legner
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1🔥1
CHALLENGE
const a = [] + [];
const b = [] + {};
const c = {} + [];
const d = 1 + "1" - 1;
const e = "5" - "2" + "3";
const f = [1, 2] == "1,2";
console.log(a, b, c, d, e, f);
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2👍2🔥1