We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Missing function keyword in snippet code at: https://github.com/getify/Functional-Light-JS/blob/master/manuscript/ch7.md/#behavior-too
function person(name,age) { return happyBirthday(){ age++; console.log( `Happy ${age}th Birthday, ${name}!` ); } }
It should be:
function person(name,age) { return function happyBirthday(){ age++; console.log( `Happy ${age}th Birthday, ${name}!` ); } }
The text was updated successfully, but these errors were encountered:
There is a PR open for this: #158
Sorry, something went wrong.
dupe.
No branches or pull requests
Missing function keyword in snippet code at:
https://github.com/getify/Functional-Light-JS/blob/master/manuscript/ch7.md/#behavior-too
It should be:
The text was updated successfully, but these errors were encountered: