A function in Javascript could be empty or can have parameters.
Parameter rules:
JavaScript function definitions do not specify data types for parameters.
JavaScript functions do not perform type checking on the passed arguments.
JavaScript functions do not check the number of arguments received.
In Javascript functions are the primary modular units of execution. Functions are obviously very important in Javascript. When talking about functions, the terms parameters and arguments are often interchangeably used as if it were one and the same thing but there is a very subtle difference.
En esta página del sitio puede ver el video en línea Javascript tutorial part 4 parameters explained de Duración hora minuto segunda en buena calidad , que subió el usuario Pandemic watch 11 abril 2019, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 24 veces y le gustó 0 a los espectadores. Disfruta viendo!