Closed deleite closed 4 years ago
In one of the example it says that:
const fortune = compose(append('If you survive, you will be '), toString, add(1)); But then the result would be 15If you survive, you will That should be const fortune = compose(concat('If you survive, you will be '), toString, add(1));
const fortune = compose(append('If you survive, you will be '), toString, add(1));
15If you survive, you will
const fortune = compose(concat('If you survive, you will be '), toString, add(1));
nvm, I had the older version from gitbooksio =/
In one of the example it says that:
const fortune = compose(append('If you survive, you will be '), toString, add(1));
But then the result would be15If you survive, you will
That should beconst fortune = compose(concat('If you survive, you will be '), toString, add(1));