Open piercus opened 8 years ago
Adding
object.hasOwnProperty(key)
Condition on each for( in ) loop.
for( in )
Following JavaScript best practices (see for example https://gist.github.com/aaronshaf/5663660 Deep members must be explicitly filtered (obj.hasOwnProperty(prop)) )
Adding
Condition on each
for( in )
loop.Following JavaScript best practices (see for example https://gist.github.com/aaronshaf/5663660 Deep members must be explicitly filtered (obj.hasOwnProperty(prop)) )