Une Bévue
10/22/2014 8:23:00 AM
Le 21/10/14 19:27, Thomas 'PointedEars' Lahn a écrit :
> It is unclear what you are asking. However, if you want a reference to an
> object that does not inherit any properties, use
>
> var obj = Object.create(null);
>
> If this method is implemented as specified, you do not have to use
> obj.hasOwnProperty() when iterating over the object's properties with a for-
> in statement.
Fine, your answer is clearly what I was asking for.