Complete the incrementArray function using the increment and decrement operators to create a new array with all of its elements incremented by 1, given an input array.
Acceptance Criteria:
- The function should return a new array with all of its elements incremented by
1. - The function should use the
incrementoperator to increment each element of the input array.