subject

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

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:00
Robots with telescoping arms are sometimes used to perform tasks (e.g., welding or placing screws) where access may be difficult for other robotic types. during a test run, a robot arm is programmed to extend according to the relationship r = 3 + 0.5cos(4θ) and the arm rotates according to the relationship θ=−π4t2+πt , where r is in feet, θ is in radians, and t is in seconds. use a computer program to plot the path of tip a in x and y coordinates for 0 ≤ t ≤ 4s.
Answers: 2
question
Computers and Technology, 22.06.2019 18:40
Mariah was working on a multimedia presentation that included both video and audio files. the file was huge, and she wanted to send it to her coworker in another office. she needed to reduce the size of the file so that it could be transmitted faster. the utility she used to do this was
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
Which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 2
question
Computers and Technology, 23.06.2019 21:40
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings. for each match, add one point to user_score. upon a mismatch, end the game. sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy'
Answers: 3
You know the right answer?
Why do we use return statements? Choose all that apply A.
Javascript requires functions to h...
Questions
question
English, 09.09.2020 22:01
question
Mathematics, 09.09.2020 22:01
question
Mathematics, 09.09.2020 22:01
question
Mathematics, 09.09.2020 22:01
question
Mathematics, 09.09.2020 22:01
question
Chemistry, 09.09.2020 22:01
question
Biology, 09.09.2020 22:01
question
Mathematics, 09.09.2020 22:01
question
History, 09.09.2020 22:01
question
Mathematics, 09.09.2020 22:01
question
English, 09.09.2020 22:01
question
Social Studies, 09.09.2020 22:01
question
Biology, 09.09.2020 22:01
question
Physics, 09.09.2020 22:01
question
English, 09.09.2020 22:01
question
Mathematics, 09.09.2020 22:01
question
Mathematics, 09.09.2020 22:01
question
Mathematics, 09.09.2020 22:01
question
Mathematics, 09.09.2020 22:01
Questions on the website: 13722367