shouldjs/should.js

Is it time to deprecate Object.prototype extension?

Open

#146 geöffnet am 20. Juni 2017

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.906 Stars) (131 Forks)batch import
discussionhelp wanted

Beschreibung

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