Which of the following is the predefined function for array reversal in javascript?

Q & ACategory: Data StructureWhich of the following is the predefined function for array reversal in javascript?
Admin Staff asked 4 years ago

Which of the following is the predefined function for array reversal in javascript?
a) reverse()
b) arr_reverse()
c) array_reverse()
d) rev()

1 Answers
Admin Staff answered 4 years ago

a) reverse()