Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript

yk7
seal-mask
.a{fill-rule:evenodd;}techdegree
yk7
Full Stack JavaScript Techdegree Student 22,891 Points

regular Object?

it ma be basic question; but I m confused;

what is regular object ?

question that pushed me to ask is : - for...of can loop over regular Objects? true or false. if you call Arrays as regular Object then it s true, else it s false,

1 Answer

Martin Jones
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Martin Jones
Front End Web Development Techdegree Graduate 44,227 Points

If you want a fully detailed explanation of JavaScript, I would highly recommend the "You Don't Know JS" Series by Kyle Simpson.

This is available for free online and has a great section on Objects, the link below will take you to this section and provide the clarification and insight you are after :)

https://github.com/getify/You-Dont-Know-JS/blob/master/this%20%26%20object%20prototypes/ch3.md