[JS] Promise Basics
1. Resolve case
1. Resolve case
Step 1. Setup packages required
Sample to show how to check requestURL and prevent Croos-Site-Script Attack Using common XSS Filter to convert URL to clean string.
Example codes of String.slice()
Sample function to cut string into desired limit value.