{"id":21076463,"url":"https://github.com/imelgrat/es3-object-properties-iteration","last_synced_at":"2026-05-21T19:38:05.449Z","repository":{"id":93311862,"uuid":"251750895","full_name":"imelgrat/es3-object-properties-iteration","owner":"imelgrat","description":"ES3 Object properties iteration with the for..in loop","archived":false,"fork":false,"pushed_at":"2020-04-07T01:23:07.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-29T23:04:12.523Z","etag":null,"topics":["enumerable","enumeration","iteration","javascript","object-property","objects","objects-and-scenes"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imelgrat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-31T21:50:02.000Z","updated_at":"2020-04-07T01:29:35.000Z","dependencies_parsed_at":"2023-05-02T13:02:57.686Z","dependency_job_id":null,"html_url":"https://github.com/imelgrat/es3-object-properties-iteration","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imelgrat/es3-object-properties-iteration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imelgrat%2Fes3-object-properties-iteration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imelgrat%2Fes3-object-properties-iteration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imelgrat%2Fes3-object-properties-iteration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imelgrat%2Fes3-object-properties-iteration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imelgrat","download_url":"https://codeload.github.com/imelgrat/es3-object-properties-iteration/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imelgrat%2Fes3-object-properties-iteration/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33311954,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"ssl_error","status_checked_at":"2026-05-21T12:22:11.673Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["enumerable","enumeration","iteration","javascript","object-property","objects","objects-and-scenes"],"created_at":"2024-11-19T19:28:33.736Z","updated_at":"2026-05-21T19:38:05.434Z","avatar_url":"https://github.com/imelgrat.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ES3 Object properties iteration\r\n\r\nBefore ES6, the only way of iterating with an object's properties was the `for...in` loop. When you loop through an object with the `for...in` loop, you need to verify that the property belongs to the object (and is not inherited.).\r\n\r\nOne known limitation of the `for...in` loop is that it iterates through all properties in the Prototype chain. If you only want to show the object's properties, without the inherited ones, you need to verify that the property belongs to the object. The simplest way to do this is by using the **.hasOwnProperty()** method.\r\n\r\nRead more at: https://imelgrat.me/javascript/object-properties-iteration-in-javascript/\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimelgrat%2Fes3-object-properties-iteration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimelgrat%2Fes3-object-properties-iteration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimelgrat%2Fes3-object-properties-iteration/lists"}