]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/test/function/#/copy.js
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / node_modules / node-gyp / node_modules / path-array / node_modules / array-index / node_modules / es6-symbol / node_modules / es5-ext / test / function / # / copy.js
1 'use strict';
2
3 module.exports = function (t, a) {
4         var foo = 'raz', bar = 'dwa'
5           , fn = function marko(a, b) { return this + a + b + foo + bar; }
6           , result, o = {};
7
8         fn.prototype = o;
9
10         fn.foo = 'raz';
11
12         result = t.call(fn);
13
14         a(result.length, fn.length, "Length");
15         a(result.name, fn.name, "Length");
16         a(result.call('marko', 'el', 'fe'), 'markoelferazdwa', "Body");
17         a(result.prototype, fn.prototype, "Prototype");
18         a(result.foo, fn.foo, "Custom property");
19 };