Even as the Trumps celebrated Halloween by transforming the White House into a haunted spectacle Tuesday, the president’s eldest son decided to celebrate it in a rather different way — give away his daughter’s candies to those children who sat at home in order to “teach her about socialism.”

Trump Jr. took to Twitter to announce that he will “distribute his child’s candy to those children who sat at home to teach her about socialism.” Alongside the tweet, he also posted a picture of his daughter Chloe dressed as a police officer with a half-empty bucket of candy in her hand.

Earlier in the day, he also took a dig at former Secretary of State Hillary Clinton after she jokingly said that she would dress up as the president for Halloween. Clinton was promoting her book "What Happened" on Tuesday when she was asked what costume she would be wearing for the Halloween when she jokingly said that she would like to dress up as the president.

"That’s cute. She can borrow my @realDonaldTrump mask," Trump Jr. said in response to Clinton's comments, Politico reported.

While the president’s eldest son attempted to take a dig at socialism, he got some witty reactions from Twitterati.

Harry Potter author J.K. Rowling weighed in.

Jacobin, a socialist magazine immediately tweeted a screenshot of Trump Jr.’s tweet along with a quote that read: "Just wait until she finds out about capital income!"

Here are some of the other reactions to Trump’s Jr.’s comments:

Trump Jr., like his father, garners mixed reactions for his tweets on social media. Last year, the president’s eldest son got caught up in a controversy when he tweeted a meme comparing refugees to a bowl of Skittles.

"This image says it all. Let's end the politically correct agenda that doesn't put America first. #trump2016," he tweeted, with a graphic image and a caption that read: "If I had a bowl of skittles and I told you just three would kill you. Would you take a handful? That's our Syrian refugee problem."

Trump Jr.’s tweet received widespread condemnation. However, the Trump campaign stood by him and released a statement calling Trump Jr. “an asset.”

"America has become less safe under Hillary Clinton and Barack Obama, and Clinton's planned 550 percent increase in Syrian refugees is a dangerous proposal that will put American lives at risk. Speaking the truth might upset those who would rather be politically correct than safe, but the American people want a change, and only Donald Trump will do what's needed to protect us," senior communication adviser Jason Miller said at the time.