結果 : check if array position exists javascript