felixge / felixge/node-sandboxed-module
instanceof Function broken inside of sandboxed module
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 343
- Forks
- 41
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I have a sandboxed module with the following contents:
``` js
var foo = function () {}
console.log(1, typeof foo);
console.log(2, foo instanceof Function);
// => 1 'function'
// => 2 false
```
`foo instanceof Function` should return `true`, but it returns `false`.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.