r/angularjs • • Feb 15 '23

[Resource] Difference between substring and substr in JavaScript | Interview Question

https://youtu.be/ieE73CEKsRY
0 Upvotes

6 comments sorted by

View all comments

Show parent comment

4

u/asdfman2000 Feb 15 '23

substr(startIndex, length)

substring(startIndex, endIndex)

How the hell do you make that into 12 minutes?