How Prototypes Work
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- medium
- Pro
You create an array and call its map method, but when you log the array's own properties, map isn't there. Explain where map comes from, how JavaScript looks up properties through the prototype chain, and how classes relate to this.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.