JavaScript Functions

Outside myFunction() carName is undefined.