https://tutorial.eyehunts.com/js/javascript-callback-function-simple-example-code/
JavaScript callback function | Simple example code