DEV Community

ViGnEsH
ViGnEsH

Posted on

Functions in JavaScript Made Easy

April -03 -2026

Function

JavaScript is dynamic value include runtime object construction.
variable parameter lists / arguments lists ,function variables
The dynamic script creation
The save a function we want call function-name
what are open barket and close barket () come that are a function

  • create container name variable and put in function name

  • create function and function name (paremeters 1 , 2.. if you want

  • variable name result inside stringmake noodle

  • return is call a countainer and go outside in function

  • console.log is can't work because return is come stop runing.


  • This also same and different in return statement is last for function

  • print output


  • This also same and different in return statement go outside store
    in person

  • Again person -> store family

  • family-> store breakfast

  • console.log(breakfast) //make noodle


Top comments (0)