Usually the device would smoke up ans go crazy,or just break
Of course, the device might not work while it is still wet, because the water may short out some circuits. However, the water itself is not as harmful as the stuff it contains. If an electronic device comes into contact with distilled or de-ionized water, it can often be dried out and work just fine. But, tap water and rain water can contain a number of elements that cause corrosion, which permanently damages the conductors and components.