logoalt Hacker News

josephglast Monday at 11:58 PM1 replyview on HN

> When people say "js doesn't have a stdlib" they mean "js doesn't have a robust general purpose stdlib like C++ ...

It does though! The JS stdlib even includes an entire wasm runtime. Its huge!

Seriously. I can barely think of any features in the C++ stdlib that are missing from JS. There's a couple - like JS is missing std::priority_queue. But JS has soooo much stuff that C++ is missing. Its insane.


Replies

krappyesterday at 9:40 AM

That's what I assume people mean, because they can't mean trivial stuff like "left-pad" and "is-even" because why would that be part of any language's standard library?

show 1 reply