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 JavaScript Foundations Functions Anonymous Functions

bad english

On about line 18, make the anonymous function with the code 'window.didExecute = true' execute.

???

2 Answers

Maximiliane Quel
PLUS
Maximiliane Quel
Courses Plus Student 55,489 Points

It's not bad English. The task tells you to execute an anonymous function. More specifically it tells you to execute the function that has the code 'window.didExecute = true' inside of it.

Btw it would greatly help if you provided more information about what you are trying to do. Is it a code challenge? Don't understand the transcript of a video? Are you merely trying to point something out?

I get that coding can be frustrating at times, but we are not clairvoyant and if you make it easier to help us help you you will find people quite happy to explain things to you.

Bravo Crusader Bravo!