Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'URLSearchParams' is not defined. #282

Closed
mrcelli opened this issue Aug 23, 2018 · 1 comment
Closed

'URLSearchParams' is not defined. #282

mrcelli opened this issue Aug 23, 2018 · 1 comment

Comments

@mrcelli
Copy link

mrcelli commented Aug 23, 2018

Using this code triggers the error:
var urlParams = new URLSearchParams(window.location.search);

URLSearchParams should not be flagged as undefined because it is part of WebAPIs

@XhmikosR
Copy link
Member

XhmikosR commented Sep 8, 2018

You should report such errors to JSHint itself.

@XhmikosR XhmikosR closed this as completed Sep 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants