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 trialRobert Hubbard
Full Stack JavaScript Techdegree Student 6,780 Points"Uncaught ReferenceError: sayGreeting is not defined", instead of value undefined.
in video "Default Function Parameters" when calling on method with param not set, value is to still come out as "undefined" and the code still roles. for mine it kills the code saying: "Uncaught ReferenceError: sayGreeting is not defined" instead of "Good Morning undefined"
function sayGreeting(name) {
return `Good morning, ${name}!`;
}
console.log(sayGreeting());
Robert Hubbard
Full Stack JavaScript Techdegree Student 6,780 PointsIts not allowing me to paste pictures, only write text.
Steven Parker
231,269 PointsA "snapshot" isn't a picture (like a "screenshot") but a complete clone of your workspace. Click on the highlighted word in my previous message, it is a link to a video that explains how to make and share them.
Steven Parker
231,269 PointsRobert Hubbard — did you resolve this issue? If not, post a link to your snapshot and I'll take a look.
Steven Parker
231,269 PointsSteven Parker
231,269 PointsSomething odd going on here for sure. Try sharing a snapshot of your workspace.