Publicis Sapient interview question

Q: Implement polyfill for .bind function in JS