Which of the following methods is applied to sort any array in random order?

A. sort()method
B. shuffle()method
C. object create()method
D. console.log()method

Answer: B

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. Lambda expressions can be used anywhere functional interfaces are expected. b. A lambda consists of a parameter list followed by the arrow token and a body, as in: [parameterList] -> {statements} c.Method references are specialized shorthand forms of lambdas. d. Each of the above statements is true.

Computer Science & Information Technology

With ____ tags, one set of tags is placed around another set of tags so that both sets apply to the text they surround.

A. nested B. nonbreaking C. ordered D. unordered

Computer Science & Information Technology