diff --git a/manuscript/markdown/Objects, Mutation, and State/recipes/get-with.md b/manuscript/markdown/Objects, Mutation, and State/recipes/get-with.md index c65a217..c197016 100644 --- a/manuscript/markdown/Objects, Mutation, and State/recipes/get-with.md +++ b/manuscript/markdown/Objects, Mutation, and State/recipes/get-with.md @@ -47,10 +47,10 @@ Why is this called `getWith`? Consider this function that is common in languages return object[attr]; }; -You might ask, "Why use a function instead of just using `[]`?" The answer is, we can manipulate functions in ways that we can't manipulate syntax. For example, do you remember from [filp](#flip) that we can define `mapWith` from `map`? +You might ask, "Why use a function instead of just using `[]`?" The answer is, we can manipulate functions in ways that we can't manipulate syntax. For example, do you remember from [flip](#flip) that we can define `mapWith` from `map`? var mapWith = flip(map); We can do the same thing with `getWith`, and that's why it's named in this fashion: - var getWith = flip(get) \ No newline at end of file + var getWith = flip(get)