結果 : javascript assign value only if not null