結果 : javascript set variable if exists