0 votes
in JavaScript by
What will happen if we use the "join()" method along with the "reverse()" method?

a) It will reverse and concatenates the elements of the array

b) It will reverse the element and store the elements in the same array

c) It will just reverse the element of the array

d) It will store the elements of the specified array in the normal order

1 Answer

0 votes
by

Answer: B

Reason: The "array.join()" method is one of the predefined methods of the JavaScript. It is used for joining the data-items of an array and converts them into a string. The "Reverse()" method, which is used along with it, reverses the specified array, and it stores the array into the memory once it gets reversed.

Related questions

0 votes
asked Mar 20, 2021 in JavaScript by sharadyadav1986
0 votes
asked Oct 9, 2022 in JavaScript by Robin
...