結果 : array of object check if value exists javascript