Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
alexlur
6y ago
0 comments
Save
Share
String#padStart already exists:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
0 comments
1 comments · 1 top-level
top
newest
oldest
soulofmischief
6y ago
But we still have trimLeft() and trimRight() and in true JS tradition we need some more redundancy for symmetry's sake.
2 more replies
j
/
k
navigate · click thread line to collapse