結果 : if string not empty javascript