gabimontillal
gabimontillal gabimontillal
  • 01-03-2021
  • Computers and Technology
contestada

Why are default parameters useful? *This is JavaScript*

Respuesta :

mimee2020
mimee2020 mimee2020
  • 01-03-2021

Answer:

It helps in setting a different default value.

Explanation:

They allow you to initialize named parameters with default values if no values are passed into the function.

Answer Link

Otras preguntas

Nathan had an infection, and his doctor wanted him to take penicillin. Because Nathan’s father and paternal grandfather were allergic to penicillin, Nathan had
The _______ wrote a petition to King George declaring Parliament couldn't pass laws on the colonists without representation by colonists.         A. country
exercises to lose belly fat
which of these is a biotic component of an environment?
Explain how the Truman Doctrine, the Marshall Plan, NATO, support for Chiang Kai-shek, and the Korean War were based on the policy of containment. What did that
for whom the bell tolls poem
Which sentence best explains the statement writing is rewriting? A. Writing well can easily be done in two steps.B.The first draft is usually very poorly constr
which of the following explains the fact that animals that differ greatly in complexity can have similar numbers of genes?
why do some species employ both mitosis and meiosis, whereas other species use only mitosis?
solar energy advantages and disadvantages