WASHINGTON — The Miami Heat nearly wasted a terrific defensive effort against John Wall and the high-scoring Washington Wizards, allowing a 25-point lead to dwindle to one before holding on for a 91-88 victory Friday night.

Hassan Whiteside had 22 points and 16 rebounds for the Heat, who limited the Wizards to 29 first-half points – Washington’s lowest output for a half in more than two years. Wall wound up with only eight points on 3-of-12 shooting. His first points of the night came with about five minutes left on a 3-pointer that got Washington to 75-71.

Overall, the Wizards made 38.1 percent of their field-goal attempts. Still, they within 89-88 after a pair of free throws by Otto Porter Jr. James Johnson, who finished with 20 points, made one free throw with 6.5 seconds left. That left Washington with the ball down by two, but Bradley Beal missed a 17-foot pull-up jumper and Miami rebounded, then tacked on a free throw.

Beal led Washington with 26 points and 10 rebounds.

The Wizards came in on a four-game winning streak, including a 102-93 victory their last time out, at Miami on Wednesday.

RAPTORS 107, KNICKS 84: Kyle Lowry matched his season high with 22 points and added 10 assists, DeMar DeRozan also scored 22 and Toronto won at home for its eighth consecutive victory against New York.

Toronto played without two injured starters in forward Serge Ibaka (swollen left knee) and guard Norman Powell (right hip). Reserve guard Delon Wright (dislocated right shoulder) also was unavailable.

C.J. Miles scored 14 points for Toronto. Pressed into the starting lineup, second-year forward Pascal Siakam scored 13 points and rookie forward O.G. Anunoby had 11.

PACERS 107, PISTONS 100: Reserve guard Lance Stephenson scored all 13 of his points in the fourth quarter, including a key 3-pointer in the final few minutes, and Indiana rallied from 22 down at Indianapolis.

The shot clock was about to expire when Stephenson launched from well beyond the arc to give the Pacers a 101-97 lead with 2:03 remaining.

It was one of the six 3s the Pacers made in seven fourth-quarter attempts as Indiana outscored Detroit 36-19 over the final 12 minutes.

CAVALIERS 118, CLIPPERS 113: LeBron James scored 39 points, Kevin Love added 25 and Cleveland won its fourth straight, in overtime at home, to send Los Angeles to its seventh straight loss.

Love drained a pair of 3-pointers in overtime when the Cavs outscored the Clippers 13-8. Dwyane Wade added 23 points and 11 rebounds for Cleveland.

SPURS 104, THUNDER 101: LaMarcus Aldridge had 26 points and San Antonio overcame a 23-point deficit at home.

Danny Green added 17 points and Pau Gasol had 14 to help San Antonio end Oklahoma City’s three-game winning streak.

NETS 118, JAZZ 107: Spencer Dinwiddie scored a career-high 25 points for Brooklyn at home.

Allen Crabbe had 18 points and DeMarre Carroll added 17 for the Nets, who snapped a two-game losing streak.

BULLS 123, HORNETS 120: Justin Holiday scored 27 points and Chicago won at home, overcoming a 47-point outburst by Kemba Walker to snap their five-game losing streak.

Walker finished five points shy of his career high but missed a driving layup with Charlotte trailing by one in the closing seconds.

NOTES

NETS: Guard D’Angelo Russell had arthroscopic surgery on his left knee.

No timetable for his return was announced.

RAPTORS: Backup guard Delon Wright has a dislocated right shoulder.

Wright was injured Wednesday night in the second quarter of a victory against New Orleans. The Raptors said tests confirmed “an injury consistent with a dislocated right shoulder.”