Introduction
In this lab, we will learn how to convert an asynchronous function to return a promise using the promisify
function. This will allow us to write cleaner and more readable code by avoiding callback functions. We will also explore the use of currying and the rest operator in JavaScript.