DONALD TRUMP WAS elected president, upending the expectations set by virtually every poll going into Tuesday’s election. He won despite alienating and attacking everyone from Hispanics to Gold Star families, calling war hero (and fellow Republican) John McCain a loser, and boasting of his celebrity-fueled ability to grab women’s genitals at will.

None of it stopped him from a stunning upset over Hillary Clinton, perhaps because prognosticators expected her to win by virtue of being only the second most disliked major party nominee in recent memory.

President Obama famously said Clinton was “likeable enough” in their 2008 primary duel. Not yesterday.

Steve Koczela of the MassINC Polling Group and Politico’s Lauren Dezenski join The Codcast to take stock of the jaw-dropping turn of events.

They also help sort out Massachusetts election results that saw Gov. Charlie Baker land on the losing side of two high-profile ballot questions — whether to expand charter schools (voters said “no”) or legalize marijuana (high times are coming).

Ballot questions can be a tough sell when they raise complicated policy issues that many think are best left to the deliberative ways of the Legislature, and that was true for the charter question. Baker and other advocates wanted it to be about opportunity for low-income families; opponents used the campaign to rail against school funding that they say is already inadequate and would only be made worse if Question 2 passed.

Meanwhile, the marijuana outcome raises a host of complicated regulatory issues that the Legislature may have to take up after having punted to voters on the overall question of legalization.

What do the ballot question outcomes mean politically for Baker, who is expected to seek reelection in two years? And why didn’t the first-term governor’s sky-high popularity rating give him the power of persuasion on the two issues?

Have a listen for a first take on those questions – and on what a Trump administration will mean for a Republican governor who blanked the top of his ballot and declared the man who is now president-elect unfit for office.