The Toronto Raptors came through a dramatic fourth quarter to beat the Miami Heat 106-104 and improve their NBA-best record.Kawhi Leonard led the way with 30 points, eight rebounds and two steals, while Danny Green hit a three-pointer to put the Raptors ahead with just over 20 seconds remaining.The final quarter saw the lead change hands 12 times, with Miami missing the chance to take the win on the game’s final possession.Toronto now stand on 26 wins and 10 losses for the season.

Joe Harris scored the game-winner with 3.4 seconds left in the second period of overtime to clinch a 134-132 win for the Brooklyn Nets over the Charlotte Hornets.

As well as finishing with a season-high 27 points, Harris set a franchise record for the most consecutive home games with a three-pointer made, reaching a total of 32.

Spencer Dinwiddie made seven three-pointers – a career-high – and had 37 points for the Nets.

The Detroit Pistons had a strong third quarter and snapped a two-game losing streak as they defeated the Washington Wizards 106-95.

Trailing by a point at half-time, Detroit scored the first 12 points of the second half in less than two minutes, before building a 20-point lead five minutes in.

Meanwhile, Devin Booker recorded 35 points in the Phoenix Suns’ 122-120 overtime victory against the Orlando Magic.

TJ Warren scored all four of the Suns’ overtime points to help them to a fifth win in their last seven.

Derrick Rose dominated for the Minnesota Timberwolves, helping them overcome his former team the Chicago Bulls 119-94.

And the Indiana Pacers won their third straight game as they beat the Atlanta Hawks 129-121.

Elsewhere, the Cleveland Cavaliers dropped to last place in the NBA as they fell to the Memphis Grizzlies 95-87, while DeAndre Jordan had his 22nd double-double for the Dallas Mavericks in their 122-119 win over the New Orleans Pelicans.

DeMar DeRozan led the way with 30 points as the San Antonio Spurs toppled the Denver Nuggets 111-103, and the Los Angeles Clippers held off a late surge to overcome the Sacramento Kings 127-118.