Skip to content

Commit ba2d54e

Browse files
committed
Fixed incorrect example comment for flip
1 parent 46592e9 commit ba2d54e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

function-patterns/currying.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169

170170
/* for example
171171
minus(5) // returns a function that takes its argument away from 5
172-
flip(minus(5)) // returns a function that takes 5 away from its argument
172+
flip(minus)(5) // returns a function that takes 5 away from its argument
173173
*/
174174
</script>
175175
</body>

0 commit comments

Comments
 (0)