This question already has an answer here:
A friend of mine went recently to the USA, and he was saying that he didn't go through customs when leaving. After asking at the information balcony in the airport he was told not to worry. Everything would be handled at the departure gate. Only the ticket was checked though.
Is this normal? how do they register the exit?