Copart interview question

JavaScript variable scope