結果 : if value is not undefined javascript