Hacker News new | past | comments | ask | show | jobs | submit login

While this is true, when the shipped standard library by NodeJS lacks so many VERY BASIC features that every other language has, OF COURSE developers choosing/being instructed to use JS so that frontend and backend languages are synced are going to reach for packages to solve whatever functionality should already exist in code like: "Jim".leftPad(4)



"Jim".padStart(4) has existed in JS (and Node) for 6 years now.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: