Far behind in the polls, Donald Trump needed to deliver a solid performance in the final presidential debate, but instead he resorted to childish tactics.