Skip to content
Browse files

Add a new utility called ‘keys’

  • Loading branch information...
1 parent 49448c0 commit c92ed73e891630061507be55dc3f45900db0e3cd @Baggz committed Mar 12, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/utils/keys.js
View
8 src/utils/keys.js
@@ -0,0 +1,8 @@
+/**
+ * Keys
+ *
+ * @param {object} obj
+ */
+var keys = function(obj) {
+ return Object.keys(obj);
+};

0 comments on commit c92ed73

Please sign in to comment.
Something went wrong with that request. Please try again.