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 Ch7 #82

Closed happysalada closed 7 years ago

happysalada commented 7 years ago

There a couple of typos on the page cull -> call (most probably) also an opening bracket missing after the last()

var person = {
    firstName: "Kyle",
    lastName: "Simpson",
    first() {
        return this.firstName;
    },
    last()
        return this.lastName;
    }
}
getify commented 7 years ago

Thanks!

getify commented 7 years ago

cull isn't a typo there: http://www.dictionary.com/browse/cull