https://parzibyte.me/blog/2021/12/13/javascript-funcion-devuelve-tipo-argumento/
JavaScript: funciĆ³n que devuelve tipo de argumento