PHP Classes

File: CoffeeCMS/contents/themes/cfnews/assets/moment/src/lib/utils/map.js

Recommend this page to a friend!
  Classes of James Brows   Coffee CMS   CoffeeCMS/contents/themes/cfnews/assets/moment/src/lib/utils/map.js   Download  
File: CoffeeCMS/contents/themes/cfnews/assets/moment/src/lib/utils/map.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Coffee CMS
Content management system using MVC based themes
Author: By
Last change:
Date: 2 years ago
Size: 156 bytes
 

Contents

Class file image Download
export default function map(arr, fn) { var res = [], i; for (i = 0; i < arr.length; ++i) { res.push(fn(arr[i], i)); } return res; }