const p = new URLSearchParams('a=1&b=2&c=3')
p.size === 3 // β trueUse size to quickly check how many parameters are present.
size reflects the number of key-value pairs parsed from the constructor string.
Challenge: Verify size after initializing from a query string.