rtCamp interview question

How does JavaScript compilation work?