Open GoogleCodeExporter opened 9 years ago
Not a bug - the hasOwnProperty checks have been considered good practice for
years. This sort of loop is practically why Object.getOwnPropertyNames was
implemented.
Any for..in loop without them when you don't have complete control of the
incoming object is considered very bad practice. This is a bug in your code,
not DateJS.
Original comment by darkcr...@gmail.com
on 9 Sep 2013 at 8:44
Original issue reported on code.google.com by
k1assisi...@gmail.com
on 27 Feb 2013 at 5:46