🤖 JavaScript's substring(): Quirky, Useful, Utterly Confusing JavaScript's substring() looks innocent. It bites with swapped args and NaN forgiveness—tripping even vets. 4 min read 1 month ago