Open DinMon opened 4 years ago
One practice exercise that I thought of, was after the reader has written the composed function of medialUrls, is to get him/her to display the array of URLs to the console.
medialUrls
Below is a snippet of code of the solution of the exercise:
const displayUrls = compose(Impure.getJSON(compose(Impure.trace('image links'), mediaUrls)), url) displayUrls('cats')
One practice exercise that I thought of, was after the reader has written the composed function of
medialUrls
, is to get him/her to display the array of URLs to the console.Below is a snippet of code of the solution of the exercise: