It enhances the flavor of the beer. The extra salt has other effects as well though, outside of simply making things more salty. Particularly, adding salt to foods helps certain molecules in those foods more easily release into the air, thus helping the aroma of the food, which is important in our perception of taste.