2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

Adding support for all and spread

This commit is contained in:
Matt Zabriskie
2014-09-05 15:48:58 -06:00
parent 38ad8fef20
commit c43f2b9710
12 changed files with 186 additions and 68 deletions
+13
View File
@@ -0,0 +1,13 @@
var spread = require('../../lib/spread');
module.exports = {
testSpread: function (test) {
var value = 0;
spread(function (a, b) {
value = a * b;
})([5, 10]);
test.equals(value, 50);
test.done();
}
};