http-errors icon indicating copy to clipboard operation
http-errors copied to clipboard

Replace deprecated String.prototype.substr()

Open CommanderRoot opened this issue 3 years ago • 1 comments

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.

CommanderRoot avatar Mar 21 '22 05:03 CommanderRoot

@dougwilson pls, can you check it?

etroynov avatar Oct 04 '23 13:10 etroynov