Creates a bound function that has the same body as the original function.
The this object of the bound function is associated with the specified object, and has the specified initial parameters.
bind(thisArg, ...args)
thisArg
An object to which the this keyword can refer inside the new function.
args
A list of arguments to be passed to the new function.
A new bound function.
let pow = (x, e) => x ** e
let square = pow.bind(null, 2)
square(16)
65536