What is the difference between argument and parameter in function?

I’m learning js. But argument and parameter threw me off! I really can’t tell the difference about it?
any kind of help will be appreciated.

Welcome to the forums :slight_smile:

MDN documentation has a friendly definition: Parameter - MDN Web Docs Glossary: Definitions of Web-related terms | MDN

A parameter is a named variable passed into a function. Parameter variables are used to import arguments into functions.

Note the difference between parameters and arguments :

  • Function parameters are the names listed in the function’s definition.
  • Function arguments are the real values passed to the function.
  • Parameters are initialized to the values of the arguments supplied.