Last active
July 3, 2017 13:11
-
-
Save Neoglyph/86ca03c391459bcc55f133bcfeb39bca to your computer and use it in GitHub Desktop.
Loop through object properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (let property in object) { | |
if (object.hasOwnProperty(property)) { | |
// do stuff | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.markupbox.com/html5-development-services/