content
content copied to clipboard
Standardize examples in `URLSearchParams: delete()`
Description
Replaces LiveSample with console.log in the examples for URLSearchParams: delete()
Motivation
I blindly copy-pasted the first example into my terminal and was surprised when I got back Uncaught ReferenceError: log is not defined. It wasn't until after I checked the source of the page that I realized it was utilizing a custom log function that didn't lend itself to copy/pasting outside of the LiveSample.
The rest of the URLSearchParams method examples use console.log, so I think it makes sense to do the same thing here. Look at forEach as an example.
John-George, Nice work, and congrats on landing your first docs change here — welcome aboard 🎉