結果 : check if var is empty javascript