JavaScript
Here, we create a custom callback function in JavaScript