Unverified Commit cc08d306 authored by Voltrex's avatar Voltrex Committed by Danielle Adams
Browse files

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: default avatarTobias Nießen <tniessen@tnie.de>
Reviewed-By: default avatarDarshan Sen <raisinten@gmail.com>
parent 2751cdf6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment