shouldjs/should.js

Is it time to deprecate Object.prototype extension?

Open

#146 aperta il 20 giu 2017

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (131 fork)batch import
discussionhelp wanted

Metriche repository

Star
 (1906 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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()

Guida contributor