Every person who willfully discharges any pistol, rifle, shotgun, airgun or other weapon, or throws any other missile in any public place, or in any place where there is any person to be endangered thereby, although no injury to any person shall ensue, is guilty of a misdemeanor.