map.js 426 B

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