$.deparam(null) throws a regex error
Closed this issue · 2 comments
deltamualpha commented
Although null
is not a valid output of $.param()
, shouldn't deparam handle it anyway, to be safe, perhaps by returning null
?
anacronw commented
good idea! I agree
deltamualpha commented
Went with just returning the empty object instead, which more cleanly maps onto what this function normally returns.