Last active
March 10, 2019 12:19
-
-
Save ezhov-da/f9887af03dca16716b83c8e3a3360880 to your computer and use it in GitHub Desktop.
js перебор свойств объекта
This file contains 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
https://learn.javascript.ru/object-for-in | |
[code:]js[:code]for (key in obj) { | |
/* ... делать что-то с obj[key] ... */ | |
} | |
[/code] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment