Closed CommanderRoot closed 2 years ago
Hi @CommanderRoot thanks for your contribution. Since it's a source-code-level change, we'd like you to send a PR to the original English docsite first. Once it has been accepted, we will sync this up from there. Hope you can understand that. Thanks again.
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.