結果 : check if set is empty javascript