Computer Science, asked by kajalbhammar7242, 2 months ago

how to declare and call function in javascript?​

Answers

Answered by prasadyash796
1

Answer:

  1. Use the keyword function followed by the name of the function.
  2. After the function name, open and close parentheses.
  3. After parenthesis, open and close curly braces.

Work curly braces, write your lines of cod.

Answered by Anonymous
1

How to Create a Function in Jav aScr ipt

Use the keyword function followed by the name of the function.

After the function name, open and close parentheses.

After parenthesis, open and close curly braces.

Within c urly br a ces, write your line s of co de.

Similar questions