Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- isParameterValid = () => {
- let isParamValid = false
- if (window.location.href.indexOf('=') > -1) {
- isParamValid = true
- }
- return isParamValid
- }
- isParameterValid = () {
- return window.location.href.includes('=');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement