← Back to release summary

URLSearchParams.size attribute

Category
Miscellaneous
Type
Chromium catches up
Status
Proposed (Chrome Proposed)
Intent stage
None

WPT details: https://wpt.fyi/results/url/urlsearchparams-size.any.html?label=experimental&label=master&aligned (will appear)

Summary

Add a size getter to URLSearchParams. It's useful to check whether there are any query parameters in a URLSearchParams object.

Standards & signals

Ecosystem

View on chromestatus.com