Closed CommanderRoot closed 2 years ago
Is there a reason you closed this PR without a comment about why?
Because reviewing pull requests is work and I'm trying to get through and prioritise a lot of things and this PR was imo an irritating waste of my time. I don't think that was your intention, but that's how I felt about it and I didn't want to think about it.
String.prototype.substr() is deprecated so we replace it with String.prototype.slice() which works similarily but isn't deprecated. .substr() probably isn't going away anytime soon but the change is trivial so it doesn't hurt to do it.