Skip to content

url: add value argument to has and delete methods#47885

Merged
nodejs-github-bot merged 13 commits intonodejs:mainfrom
sankalp1999:url-search-param-has-delete
May 14, 2023
Merged

url: add value argument to has and delete methods#47885
nodejs-github-bot merged 13 commits intonodejs:mainfrom
sankalp1999:url-search-param-has-delete

Conversation

@sankalp1999
Copy link
Copy Markdown
Contributor

The change aims to add value argument to two methods of URLSearchParams class i.e the has method and the delete method. For has method, if value argument is provided, then use it to check for presence. For delete method, if value argument provided, use it to delete.

Fixes: #47883

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run. semver-minor PRs that contain new features and should be released in the next minor version. whatwg-url Issues and PRs related to the WHATWG URL implementation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add value argument to URLSearchParams's has() and delete()

9 participants