map.js (426B)
1 "use strict"; 2 3 Object.defineProperty(exports, "__esModule", { 4 value: true 5 }); 6 exports.mapDocs = void 0; 7 var mapDocs = { 8 name: 'map', 9 category: 'Matrix', 10 syntax: ['map(x, callback)'], 11 description: 'Create a new matrix or array with the results of the callback function executed on each entry of the matrix/array.', 12 examples: ['map([1, 2, 3], square)'], 13 seealso: ['filter', 'forEach'] 14 }; 15 exports.mapDocs = mapDocs;