Joined October 2012
·
Posted to
How to check if JavaScript Object is empty
over 1 year
ago
@develoser Underscore is just one of those overly useful tools out there and I agree and suggest that others check it out. Thanks for you input!
Posted to
How to check if JavaScript Object is empty
over 1 year
ago
@avenger7x Yes, that certainly works although it is not supported in some older browsers such as Firefox < 4 and IE < 9. It's a new addition under ECMAScript 5.
Achievements
605 Karma
1,107,393 Total ProTip Views
Honey Badger
Have at least one original Node.js-specific repo
Charity
Fork and commit to someone's open source project in need
@shawncplus is exactly right. A JS compressor should always strip comments.