結果 : check if something is empty javascript