shouldjs/should.js

Is it time to deprecate Object.prototype extension?

Open

#146 opened on Jun 20, 2017

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (1,906 stars) (131 forks)batch import
discussionhelp wanted

Description

There's more and more changes like this: https://github.com/nodejs/node/pull/6055 where objects no longer inherit from Object.prototype

Is it time to deprecate this feature in favor of a global variable or something like that?

Feel free to close this if you're tired of discussing Object.prototype, I understand.

Node.js version?

6

Should.js version?

any

How to reproduce it?

try asserting on the result of querystring.parse()

Contributor guide