◐ Shell
clean mode source ↗

extending options from a prototype

i currently have an issue when creating http.client() requests from an options object that is created from a constructor: petkaantonov/urlparser#5

https://github.com/iojs/io.js/blob/v0.12/lib/_http_client.js#L50

my solution would be options = Object.create(options || {}) or something, but i'm pretty sure someone's going to complain about performance or something...

what do you guys think?