Danica McKellar, best known for playing Winnie Cooper in The Wonder Years, was seen on the set of punk rocker Avril Lavigne's music video for her newest single Rock N Roll, sporting attire that Winnie wouldn't dare be caught in. 

The 37-year-old teen star wore aquamarine stockings with a barely-there skirt over top. McKellar showed off her awesome abs by wearing a tiny denim vest over a cropped top. The math wiz, who wrote Girls Get Curves: Geometry Takes Shape, also rocked bright orange stiletto booties and a funky headpiece. 

Mckellar tweeted yesterday after the shoot, "Just had the best time shooting @AvrilLavigne's new video. And she is so sweet and fun! Made me feel like a rock star. ;)."

She wasn't the only one having fun though. Lavigne tweeted the same day "Thank you @danicamckellar for acting in my video. You are beautiful and so sweet. We kicked butt today #ROCKNROLL."

The Daily Mail reported on July 26 that Mckellar, mother of two-year-old Draco, has been promoting her fourth book, showing young girls that smart girls don't have to be stereotypical "nerds."

The actress-turned-New York Times bestselling author's divorce from ex-husband Mike Verta was finalized earlier this year. 

McKellar reportedly filed for divorce last June, but according to court documents obtained by TMZ, a judge didn't grant the divorce until two months ago.

The former couple also reportedly have a pre-nup that lays out a custody and support agreement involving their son.