Laws vary. In Washington every street corner is an unmarked crosswalk, where pedestrians have priority. Many drivers don’t know this, of course.
Most people also don't know that you're not supposed to enter a crosswalk when the "DONT WALK/red person" is blinking, or the countdown timer is running. It is supposed to be treated like a yellow. Finish crossing the street, but do not enter the crosswalk. Though I suppose that stepping on the gas is how drivers treat a yellow also!
Lady in a Subaru was REALLY mad.