'Riverdale' Gets Hilarious Shoutout on 'Will & Grace'
All 110 New and Returning Fall TV Shows And Premiere Dates

Jack freaks out upon hearing the CW drama has been cancelled.

"Riverdale" fans watching "Will & Grace" Thursday night probably squealed in delight when the CW show inspired one of the funniest jokes of the episode.

If fans weren't watching, here's the reference to their beloved teen drama, which has now been cemented in pop culture history as a result.

While Will (Eric McCormack) was trying to tell his best friend Jack (Sean Hayes) about his experience sleeping with one of the most famous chef's in the game, Jack couldn't help but interrupt him by singing the catchy Trucks for Tights commercial jingle since it has been stuck in his head for days.

After Will's suggestion to sing another tune turned out flat, he decided to try and scare the song out of his head.

"Did you hear they cancelled 'Riverdale,'" Will said.

"What? No! Oh my God! Archie is our hottest ginger," Jack said. "This is a disaster. What do we do? What do we do?"

After allowing Jack to continue freaking out till near panic attack, Will finally stopped the nonsense to remind him his distraction may have actually just worked.

"Jack, I was just trying to scare you to get the song out of your head," Will said.

"Will & Grace" airs Thursdays at 9 p.m. ET on NBC.

View Photos Getty 31 Famous Faces You May Have Forgot Appeared on 'Will & Grace'