]> 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/array/to-array.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 / array / to-array.js
1 'use strict';
2
3 module.exports = function (t, a) {
4         var o = [1, 2, 3];
5         a(t(o), o, "Array");
6         a.deep(t('12r3v'), ['1', '2', 'r', '3', 'v'], "String");
7         a.deep(t((function () { return arguments; }(3, o, 'raz'))),
8                 [3, o, 'raz'], "Arguments");
9         a.deep(t((function () { return arguments; }(3))), [3],
10                 "Arguments with one numeric value");
11
12         a.deep(t({ 0: 'raz', 1: 'dwa', length: 2 }), ['raz', 'dwa'], "Other");
13 };