What is the purpose of the bind() method in JavaScript?
bind()
It binds a function to a specific variable.
It creates a new function with the same code as the original function.
It binds a specific value to the "this" keyword in a function.
It attaches event handlers to DOM elements.