Trevor Elias Einhorn (born November 3, 1998) is an American actor. In television, he is known for playing Josh on the Syfy fantasy series The Magicians and Frederick Crane on the American sitcom Frasier. He also portrayed the role of Joey Thomas in the 1998 Trey Parker and Matt Stone film BASEketball.