https://themyprojects.blogspot.com/2024/01/javascript-bab-5-function-js.html