]> gerrit.simantics Code Review - simantics/district.git/blob - spread.js
d7c93b7e07ee15434ef0d4f5782344888b1e776a
[simantics/district.git] / spread.js
1 'use strict';
2
3 var callable = require('../../object/valid-callable')
4
5   , apply = Function.prototype.apply;
6
7 module.exports = function () {
8         var fn = callable(this);
9         return function (args) { return apply.call(fn, this, args); };
10 };