is-urlsearchparams
Version:
Determines whether a value is a URLSearchParams instance.
25 lines (19 loc) • 295 B
JavaScript
const LENIENT_PROPERTIES =
[
"entries",
"sort",
"values"
];
const STRICT_PROPERTIES =
[
"append",
"delete",
"get",
"getAll",
"has",
"keys",
"set",
// "toString" excluded because Object::toString exists
];
module.exports = { LENIENT_PROPERTIES, STRICT_PROPERTIES };
;