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

It would be good to do it for all of them tho (and because they currently return undefined, it might mean that this can be done in a somewhat backwards compatible way). 

This not returning self might become an issue - in as far that it's another place where the platform doesn't match ES! - as more people start migrating to ES6 and beyond, because all other map/set interfaces return self. This makes these interfaces annoying to use when writing functional code. 

Would it help to get more opinions from functional programming folks? 


-- 
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-268144184

Received on Tuesday, 20 December 2016 03:23:20 UTC