結果 : how to compare array of strings in javascript