3 ms·It doesn’t compare, but TypeScript can do this for small ranges, or small sets, very well.by teaearlgraycold 3y agoIt doesn’t compare, but TypeScript can do this for small ranges, or small sets, very well.