mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
Because on NodeJS <= v0.10 hasOwnProperty returns false for __proto__ on Object.prototype. Function.prototype and Object.prototype are roots so it should be safe to use 'in' instead.