Use `const` when value does not change

This commit is contained in:
Raymond Hill 2020-11-02 04:57:42 -05:00
parent c7bed84ab8
commit d536c7ab11
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -3558,7 +3558,7 @@ FilterContainer.prototype.filterQuery = function(fctxt) {
const directives = this.matchAndFetchModifiers(fctxt, 'queryprune');
if ( directives === undefined ) { return; }
const url = fctxt.url;
let qpos = url.indexOf('?');
const qpos = url.indexOf('?');
if ( qpos === -1 ) { return; }
const params = new self.URLSearchParams(url.slice(qpos + 1));
const out = [];