assists, seven rebounds and four steals, opening the extra period with a fadeaway 14-footer and a pull-up 3-pointer that helped give the Lakers a five-point advantage (104-99).

LeBron James finished with 31 points, 12 rebounds and eight assists. The league’s all-time leading scorer made a clutch 3-pointer to tie the game at 96 in regulation after the Lakers trailed for 32 consecutive minutes.

Reaves, who returned on Thursday after missing the previous two games because of a strained left calf, struggled in his first game since playing nine minutes in last Friday’s home win over the Clippers. The fourth-year guard finished with eight points on 2-of-13 shooting.

But after Jalen Brunson cut the Lakers’ lead to 105-104 in overtime, Reaves knocked down a corner 3 — his lone make from beyond the arc — that was assisted by Jaxson Hayes in the short roll out of a pick and roll with James to put the Lakers up by four with 2:40 left in the extra period.

Brunson finished with a game-high 39 points on 13-of-26 shooting (12 for 13 on free throws) to go with 10 assists for a double-double, but left the game with 1:24 left after turning his right ankle while driving against Reaves to the basket.

The Knicks All-Star guard made a pair of free throws to tie the game at 107 apiece before his team intentionally fouled to allow him to exit the game and head back to the locker room.

Hayes made a pair of free throws to put the Lakers up 109-107 with 59.7 seconds remaining.

After Karl-Anthony Towns committed an offensive foul while trying to grab a rebound over James, the 22-year NBA veteran made a pair of free throws to put the Lakers up 111-107.

James grabbed the defensive rebound after OG Anunoby missed a free throw after drawing a shooting foul on a layup he made to cut the Lakers’ lead to 111-109, with James making another pair of free throws to seal the win.

The Lakers, who’ve won 20 of 24 games going back to Jan. 15, trailed for most of the second half, with their offense going cold — especially from beyond the arc — after a strong start.

But when they needed them most, their 3-pointers fell.

Gabe Vincent (12 points) made a pair of 3s in the final six minutes of regulation, including a 27-footer that cut the Lakers’ deficit, which was 13 in the third quarter and 10 midway through the fourth, to 94-93 with less than three minutes left in the fourth.