Skip to content
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

Code typo in ch4, Composition As Abstraction #16

Closed
solendil opened this issue Sep 2, 2016 · 1 comment
Closed

Code typo in ch4, Composition As Abstraction #16

solendil opened this issue Sep 2, 2016 · 1 comment

Comments

@solendil
Copy link

solendil commented Sep 2, 2016

var wordsFound = words( text );
var uniqueWordsFound = unique( wordsFound );
var shorterWords = skipLongWords( uniqueWordsFound );

shorterWords( text );

Uncaught TypeError: shorterWords is not a function

skipLongWords( unique( words( text ) ) )( text );

Uncaught TypeError: skipLongWords(...) is not a function

@getify
Copy link
Owner

getify commented Sep 2, 2016

yep sorry typing late at nite. will fix those.

@getify getify closed this as completed in 8e48c16 Sep 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants