Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Массивтің ретін өзгерту үшін код жасаңыз.

Input:
const arr = [3, 2, 1];

### Response:
const reversearray = arr => arr.reverse ();

### End