shouldjs/should.js

Is it time to deprecate Object.prototype extension?

Open

#146 ouverte le 20 juin 2017

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)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()

Guide contributeur