In both American and British English, the em dash serves the same purpose. But there is a slight difference in the way the dash is represented in text. In British English, the dash is written as a single hyphen since most computer keyboards do not provide a separate dash.
In American English, the em dash is written with two consecutive hyphens. This is done to avoid any ambiguity that may crop up when a reader is perusing the text.