A

Admin • 833K Points
Coach

Q. What will happen if reverse() and join() methods are used simultaneously ?

  • (A) Reverses and stores in the same array
  • (B) Reverses and concatenates the elements of the array
  • (C) Reverses
  • (D) All of the mentioned
  • Correct Answer - Option(A)
  • Views: 28
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

The reverse() followed by a join() will reverse the respective array and will store the reversed array in the memory.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.