--- In email@example.com
, "pauanyu" <pcxunlimited@...> wrote:
> I frequently find that I must convert non-objects into objects. Consider, for example, a function that expects one of it's arguments to be an object. If you try to set a property on the expected object, but it turns out it's not an object, poof! You get an error.
> I would love to be able to do this, without JSLint complaining:
> object = Object(object);
That's not going to happen. The wrapping of primitive values is one of the bad parts.