PHP Classes

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

Recommend this page to a friend!
  Classes of James Brows   Coffee CMS   CoffeeCMS/contents/themes/cfnews/assets/moment/src/lib/utils/keys.js   Download  
File: CoffeeCMS/contents/themes/cfnews/assets/moment/src/lib/utils/keys.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: 3 years ago
Size: 332 bytes
 

Contents

Class file image Download
import hasOwnProp from './has-own-prop'; var keys; if (Object.keys) { keys = Object.keys; } else { keys = function (obj) { var i, res = []; for (i in obj) { if (hasOwnProp(obj, i)) { res.push(i); } } return res; }; } export { keys as default };