code: function allKeys(obj) {
          if (!isObject(obj)) return [];
          var keys = [];
          for (var key in obj) keys.push(key);
          return keys;
      }
docs: Retrieve all the property names of an object.