Meta interview question

[2,3] add one to the array and return back the array so the answer would be [2,4]