The first is that it has small pores on the top of the leaves that push salt on to its surface. Rain then can wash the salt off. The second is that the leaves are waxy and this makes the water flow over them. The leaves also have a point at the end so the water drips off easily.