<prompt> Generate a code to reverse the order of an array.const arr 3, 2, 1;  <response>: Here is one way to reverse the order of an array using JavaScript: jsconst arr 3, 2, 1;const reversedArr arr.reverse;console.logreversedArr; 1, 2, 3 