Reverse the order of an array with the elements: 4,7,8,10.
[4, 7, 8, 10]
[10, 8, 7, 4]
Complete the following task based on the instruction and optional input provided.### Instruction:
Reverse the order of an array with the elements: 4,7,8,10.

### Input:
[4, 7, 8, 10]

### Output:
[10, 8, 7, 4]