joyent/node — Issue #2471: It's a strange behavior to check the type with object's constructor
Author: cfsghost
Created: 2012-01-05 21:17:26+00:00
State: open

Here is the code to show up this strange behavior:
```javascript
var a = [];
console.log(a.constructor === Array);
```
Result:
```javascript
false
```
It should show us "true" rather than "false".

I am using nodejs 0.6.6 on Debian Squeeze, also found this behavior with nodejs 0.4.12 on Debian Sid.