-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exercise 8 #110
Comments
This is failing because the workshopper enforces an assumption that the name of the function passed to your first // function declaration
function attachTitle(word) {
return 'DR. ' + word;
}
// named function expression
var attachTitle = function attachTitle(word) {
return 'DR. ' + word;
} There is another scenario in this issue that reports a false negative for a similar reason: nodeschool/discussions#2002 CC @TimothyGu - any thoughts on how to mitigate these false negatives? Looking at the code it is not obvious to me how we could handle these scenarios without removing the check. |
I do not understand why this is incorrect |
HI i got this problem with the execution of exercise 8:
The Task
Construct a promise chain that returns values to prove to yourself that
promise handlers will wrap your returned values in promises allowing
additional chaining.
attachTitle
which prepends'DR. '
to its firstargument and returns the result.'MANHATTAN'
.attachTitle
then callsconsole.log
.If your program runs successfully, it should print out “DR. MANHATTAN” which
is extremely exciting.
My code:
The response

thanks for reading me
The text was updated successfully, but these errors were encountered: