Re: [whatwg/url] URLSearchParams: calling .set() and .append() should return itself (#90)

Oh, I was talking about `get()` returning null rather than undefined (as it does in ES).

> I'd be interested to hear how it's a feature to break with ES?

As was pointed out on public-script-coord what ES does doesn't make much sense. It's totally unclear what methods will return this and what methods will return something else. And if we ever got to a point where `append()` might not succeed, we cannot indicate success through a return value anymore.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/90#issuecomment-268175894

Received on Tuesday, 20 December 2016 07:40:08 UTC