How does ascorbic acid prevent endothelial dysfunction?

How does ascorbic acid prevent endothelial dysfunction?