8 lines
134 B
JavaScript
8 lines
134 B
JavaScript
'use strict';
|
|
|
|
export default function bind(fn, thisArg) {
|
|
return function wrap() {
|
|
return fn.apply(thisArg, arguments);
|
|
};
|
|
}
|