Why do we use return statements? Choose all that apply

A.
Javascript requires functions to have return values.

B.
To return multiple data types simultaneously

C.
To allow a function to give different values depending on input.

D.
So that we no longer have to use console.log();

E.
To save the result of a function in a variable in other functions

Answers

Answer 1

Answer:

A.

Javascript requires functions to have return values.


Related Questions

Other Questions
A new sports equipment company, Sports EQUIP, sold 2,835 helmets in their second year of operation. This is 225% of the number of helmets they sold in their first year. Another sports equipment company, Sports Inc., sold 446 helmets in their second year of operation. This is 35% of the number of helmets they sold in their first year. Which company sold more helmets in their first year? Why was it important for Major Whittlesey to hold their position in the Argonne Forest? What did the group see everyday resting in the shade of the small trees?A. snakesB. lionsC. other peopleD. tigersA Long Walk To Water What is the sum of -5 + 4 Calculate 48 x 3/8 choose the numbers to complete the equation Help I only have 15 minutes Plz help meeSandy soilA) holds water wellB) contains clay and humusC) has loose grains and few nutrients What is the Federal Reserve use to help control the money supply in the economy as a whole?A. checksB. stocksC.interest ratesD. debit cards Ive been confused on this problem for awhile :( (24 points) Need some help please ! In general, a larger R squared tends to suggest that:_______. a. the estimated sample regression function explains a greater percentage of the total variation in y b. the estimated sample regression function is more accurate c. the estimated sample regression function explains a greater percentage of the explained variation in y d. the estimated slope coefficient is more likely to equal the population slope coefficient Why did president Jimmy Carter withdraw the salt 11 treaty from consideration by the Senate in 1979 1) Base your answer on the information and data table below and on your knowledge of biology.A student wanted to investigate the effect of light on the rate of ripening of tomatoes. She set up four pots of the same size with identical amounts of soil, water, and type of tomato plants. Each plant was exposed to a different intensity of light as shown in the table below. The independent variable in this experiment is theA) light intensityB) amount of soil providedC) type of tomato plantD) color of tomatoes Diana and Michael, who are taking different classes, are arguing about who did better on their most recent test. Diana received a score of 92 on her History test and Michael received a 688 on his Math test. The mean test score for the History class is 71 with a standard deviation of 15.The mean test score for the Math class is 493 standard deviation of 150. Who did better, relative to other students in the same class? Justify your answer. Which development would most likely reduce the standard of living in theUnited States?A. It becomes more difficult for U.S. citizens to get health care.B. More Americans begin traveling to different states for work.OC. The U.S. government decides to return to the gold standard,O D. U.S. factories begin producing goods at a much faster rate. I SUCK AT THIS. PLEASE HELP! Factor x^2-11x+24x. life is slaveryall your life you workfirst its preschoolthen its schoolthen collegethen you go off to workthen you retire and rot away in your kids' house or in a retirement homethen you dieone day you are a 13 year old rocking out to nirvana then you die Find the equation of the line with slope 5/2and y-intercept (0,0). Solve for t.-18.18 = 6tQuestion 1 options:t= -24.18t= -3.03t= 3.03t= -13.18 I need Help! can someone help