NEW YORK — Stephen Curry had season highs with 39 points and 11 rebounds, and the Golden State Warriors held on after he fouled out to beat the Brooklyn Nets 118-111 on Sunday night.

A night after erasing a 22-point halftime deficit in Philadelphia, the Warriors built a 22-point cushion after two quarters behind 22 points from Curry. Playing without Kevin Durant, they led by 28 in the third quarter but Brooklyn cut it all the way to four after Curry picked up his sixth foul with three minutes remaining.

Klay Thompson then scored seven of his 23 points in the final two minutes.

RAPTORS 100, WIZARDS 91: DeMar DeRoan scored 33 points, C.J. Miles had 12 and Toronto beat Washington to avenge its only home loss of the season.

Kyle Lowry and Fred VanVleet each scored 10 points and Serge Ibaka had nine points and eight rebounds. Toronto won its season-high fourth straight and improved to 6-1 at home.

PACERS 120, HEAT 95: Bojan Bogdanovic scored 26 points, Myles Turner added 25 and Indiana embarrassed host Miami in the second half .

Turner made 11 of 14 shots for the Pacers, who won their third straight game overall and got their first win in Miami since Nov. 12, 2014. Each of the last 11 regular-season games in the series were won by the home team, until the Pacers emphatically changed that in this one.

PISTONS 100, TIMBERWOLVES 97: Andre Drummond had 20 points and 16 rebounds, Tobias Harris and Avery Bradley added 18 points each and Detroit won in Minnesota.

Harris hit two free throws with 3.3 seconds remaining, and Jimmy Butler’s last-second 3-point attempt rattled out.

SUNS 113, CHICAGO 105: T.J. Warren scored 27 points to lead six Phoenix players in double figures and the Suns handed Chicago its sixth loss in seven games, in Phoenix.