Spencer Dinwiddie got the credit from Luka Doncic after the Dallas Mavericks beat the Los Angeles Lakers in double overtime.

Doncic helped himself to a 10th triple-double of the season – only Nikola Jokic of the Denver Nuggets has more – as the Mavs triumphed 119-115 on Thursday at the Crypto.com Arena.

The 23-year-old top scored with 35 points and added 14 rebounds and 13 assists, ensuring the efforts of LeBron James – 24 points, 16 rebounds and nine assists – and Russell Westbrook, who grabbed 28 points off the bench, were not enough for the Lakers.

However, Doncic said it was Dinwiddie, who had six points in the second period of OT to pave the way for Reggie Bullock's game-winning free throw, who was responsible for the victory.

"He's an amazing player," Doncic said of Dinwiddie, who is averaging 16.1 points per game this season.

"He can dunk, he can score. He's really a great player, he helped us a lot. He won the game tonight."

Doncic forced both overtimes with clutch three-pointers, while Chris Wood delivered with a double-double of 24 points and 14 rebounds.

"I get to my step-back, that's it. We were down by three, so I was going to attack with a three," Doncic explained to TNT.

"It was very physical. Two overtimes, a lot of minutes. We had to stay focused, but we came through. A win is a win."

While the Mavs are fourth in the Western Conference with a 24-19 record on the season, the Lakers sit 13th with a sub-500 win percentage.

Matters could have been different had a foul been called when Tim Hardaway Jr appeared to have made contact with the shooting hand of Lakers small forward Troy Brown Jr during a three-point attempt with the scores tied at 101-101.

"It is what it is," Brown Jr told reporters. "At the end of the day, that's where I stand on it. I'm not deciding. At the end of the day, they're human.

"I thought there was contact, they don't call it. It is what it is. It's not my job to ref."

The Mavs were also unhappy with the officiating, with their owner Mark Cuban tweeting it had been the "worst officiated game".