1var sum = function(a, b, c) { return a + b + c };
2var sumAB = sum.bind(null, 1, 5);
3var sumC = sumAB.bind(null, 2);
4
5console.log(sumC());
1var sum = function(a, b, c) { return a + b + c };
2var sumAB = sum.bind(null, 1, 5);
3var sumC = sumAB.bind(null, 2);
4
5console.log(sumC());