Travis build: 208

This commit is contained in:
30secondsofcode
2018-08-10 06:33:14 +00:00
parent dca7a2b33d
commit 5de1fd5043
2 changed files with 2 additions and 8 deletions

View File

@ -4442,10 +4442,7 @@ Return a `function` that uses `Function.apply()` to apply the given `context` to
Use `Array.concat()` to prepend any additional supplied parameters to the arguments.
```js
const bind = (fn, context, ...args) =>
function() {
return fn.apply(context, args.concat(...arguments));
};
const bind = (fn, context, ...boundArgs) => (...args) => fn.apply(context, [...boundArgs, ...args]);
```
<details>