ahh this is just an issue with what you're returning, you're trying to return the result of console.log("some text") and it just wanted you to return "some text" -- I could make the error much more helpful
ahh this is just an issue with what you're returning, you're trying to return the result of console.log("some text") and it just wanted you to return "some text" -- I could make the error much more helpful
Triage: Expected behavior -- Lesson 101 instructs the student to write a greetTarget function. The undefined return is the expected result when the student hasn't completed the function body yet. The lesson's test cases validate the completed implementation. No code defect found.
**Triage: Expected behavior** -- Lesson 101 instructs the student to write a `greetTarget` function. The `undefined` return is the expected result when the student hasn't completed the function body yet. The lesson's test cases validate the completed implementation. No code defect found.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
greetTarget('Dennis') expected 'Salutations, Dennis!' but got 'undefined'
greetTarget('Dennis') expected 'Salutations, Dennis!' but got 'undefined'
Output:
Unknown error occurred.
ahh this is just an issue with what you're returning, you're trying to return the result of console.log("some text") and it just wanted you to return "some text" -- I could make the error much more helpful
Triage: Expected behavior -- Lesson 101 instructs the student to write a
greetTargetfunction. Theundefinedreturn is the expected result when the student hasn't completed the function body yet. The lesson's test cases validate the completed implementation. No code defect found.