Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@010001111 Even with TS, they all have the same signature (number, number) => string. You still need to check the built-in doc to make sure.
-
@localpost The build in types of typescript include the docs, duh
And a good editor will show that on expand/hover, like vscode -
@theabbie If it helps, I just remember it by thinking “p” is for put as in update to remember that splice modifies and slice copies.
substring, substr, slice.
Choose wisely.
rant
wk229
javascript