Photo: Taylor Hill/Getty; Amanda Edwards/Getty

Jennifer Lopez attends the 25th Annual Critics' Choice Awards at Barker Hangar on January 12, 2020 in Santa Monica, California, Ariana Madix attends the Friends and Family Opening at Schwartz & Sandy’s with the cast of “Vanderpump Rules” at Schwartz & Sandy’s Lounge on July 26, 2022 in Los Angeles, California

Jennifer Lopezis putting herself in the shoes ofVanderpump Rules’Ariana Madix.

On Thursday’s episode ofThe View,Lopez weighed in on the drama surrounding Madix’s exTom Sandoval’saffairRaquel Levissthatbroke upthe Bravo couple’snine-year relationship.

Joy Beharthen pressed her about what she would do if “your friend was getting with your husband.”

“Oh! Is that what’s happening onVanderpump Rules? Jesus Christ,” responded Lopez, 53.

Sunny Hostinexplained, “That’s what’s happening. And they’ve been living together for 10 years.”

“Would you be violent or would you be rational?” asked Behar.

“I think I’d just walk out. Just walk out,” said Lopez. “You know everything you need to know. What else do you need to know! That’s all the info that you need.”

Tom Sandoval and Ariana Madix.Axelle/Bauer-Griffin/FilmMagic

LOS ANGELES, CALIFORNIA - JULY 19: Tom Sandoval and Ariana Madix attend the Los Angeles Special Screening of Lionsgate’s “Midnight In The Switchgrass” at Regal LA Live on July 19, 2021 in Los Angeles, California. (Photo by Axelle/Bauer-Griffin/FilmMagic)

The comment comes just days after theVPRseason 10 finale teasergave fans got a more in-depth look at how Madix, 37, reacted afterlearning about Sandoval and Leviss’s affairin early March.

In the clip, Madix and theSchwartz & Sandy’sco-owner, 40, had a heated confrontation, with him telling her: “Me and Raquel became likereally good friends.”

“I don’t give up a f— about f—ing Raquel,” responds a fuming Madix. “Your friendship is f—ing bulls—. "

“Not it’s not!” Sandoval shoots back, adding,“You know everything.”

Later in the clip, Madix tells her ex, “I regret ever loving you.”

PEOPLE confirmed Sandoval and Madix had broken up on March 3. At the time, a source said the pair “had been having problems for a while” but his months-long affair with Leviss, 28, was “the final straw” for Madix.

“She put up with a lot over the years, but she won’t sit back and be disrespected this way,” the insider added.

Both Sandoval and Levississued publicapologies to Madix, who postedher own statementon Instagram on March 16.

“i want to express my most sincere gratitude for the outpouring of love and support i have received from friends, family, and people i’ve never even met,” she wrote. “when i have felt like i couldn’t even stand, you all have given me the strength to continue and seen me through my darkest hours. to say i have been devastated and broken is an understatement.”

Noting that she was still “reeling from this betrayal on so many levels,” she added an implied warning: “what doesn’t kill me better run.”

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

Vanderpump Rulesairs Wednesdays at 9 p.m. ET on Bravo, andThe Viewairs weekdays on ABC (check local listings).

source: people.com