結果 : find pair with given sum in an array javascript