lib: cleanup instance validation
Cleaned up the `URLSearchParams`'s `this` validation to increase readability by moving them to an extra helper function. PR-URL: https://github.com/nodejs/node/pull/39656 Reviewed-By:Tobias Nießen <tniessen@tnie.de> Reviewed-By:
Darshan Sen <raisinten@gmail.com>
parent
2751cdf6
Please register or sign in to comment