Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

what is (e)?

I don't understand what (e) is.. can anyone please explain it to me ...

1 Answer

Steven Parker
Steven Parker
243,095 Points

It might be an event object.

I'm guessing here, since you did not show any code or provide a link to a course page, But if it's an argument being passed to an event handler, It is an event object. It has a number of properties and methods which are useful in identifying aspects of the event and dealing with it, as described in detail on this MDN page.

To enable the most complete and accurate analysis, always show your code and include a link to the course page you were working with.