Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: replace deprecated
String.prototype.substr()
(#691)
`.substr()` is deprecated so we replace it with `.slice()` which works similarly but isn't deprecated. See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr Signed-off-by: Lam Wei Li <peteriman@mail.com>
- Loading branch information