mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
The comments are not related to the fix, they are just for future
reference.
The fix is that having an "own" property named `constructor` should
not disqualify an object from being considered an "instance of some
class." Instead, we should detect that an object like
`{constructor: ...}` is a plain object by noting that
`!(x instanceof x.constructor)`.
9.4 KiB
9.4 KiB