bigbasket Interview Question

what are the closures in javascript, code snippet