getify / Functional-Light-JS

Pragmatic, balanced FP in JavaScript. @FLJSBook on twitter.
http://FLJSBook.com
Other
16.6k stars 1.95k forks source link

Typos ch9 #84

Closed happysalada closed 7 years ago

happysalada commented 7 years ago

I'm not sure what you meant by the following

maxEven( nums ):
    maxEven( nums.0, maxEven( ...nums.1 ) )

perhaps this ?

maxEven( nums ):
    maxEven( nums[0], maxEven( ...nums.slice(1) )
getify commented 7 years ago

it's pseudo code

happysalada commented 7 years ago

Ok maybe worth adding a note ? (I'll close the issue then)