|
@@ -66,6 +66,9 @@ let myBind = function myBind(func, context, [...args]) {
|
|
let pow5 = myBind(Math.pow, Math, [undefined, 5])
|
|
let pow5 = myBind(Math.pow, Math, [undefined, 5])
|
|
console.log(Math.pow.apply(Math, [2,5]))
|
|
console.log(Math.pow.apply(Math, [2,5]))
|
|
var chessMin = myBind(Math.min, Math, [undefined, 4, undefined, 5,undefined, 8,undefined, 9])
|
|
var chessMin = myBind(Math.min, Math, [undefined, 4, undefined, 5,undefined, 8,undefined, 9])
|