felixge / felixge/node-sandboxed-module
instanceof Function broken inside of sandboxed module
Open
- Dominant language
- JavaScript
- Stars
- 343
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
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`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.