responsively-app icon indicating copy to clipboard operation
responsively-app copied to clipboard

refactor: replace deprecated String.prototype.substr()

Open CommanderRoot opened this issue 3 years ago • 1 comments

✨ Pull Request

📓 Referenced Issue

ℹ️ About the PR

String.prototype.substr() is deprecated so we replace it with String.prototype.slice() or String.prototype.substring() which work similarily but aren't deprecated. .substr() probably isn't going away anytime soon but the change is trivial so it doesn't hurt to do it.

🖼️ Testing Scenarios / Screenshots

CommanderRoot avatar Mar 25 '22 15:03 CommanderRoot

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 28 '23 06:03 CLAassistant