bind()
Creates a function that when called will call fn
with this
referring to objThis
and any values in opt_args
be passed as the first arguments to fn
.
this
will refer unless undefined
or null
is given.[]
fn
when the returned function is called.fn
with this
referring to objThis
and any values in opt_args
be passed as the first arguments to fn
.This function directly requires the following function which is included automatically:
slice()