This would break one of my most preferred ways to check whether a value is an 
object:

```js
function isObject(value) {
  return value === new function(){ return value };
}
```

Unlike `Object(value) === value`, the above is just syntactic, it does not 
require `Object` to be the built-in one.

And I don't really see the point, constructors are supposed to construct 
objects. If you want primitives, you can always use function calls.

-- Oriol


_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to