結果 : set value if undefined javascript