function addProperty(property) {
    if (result.indexOf(property) === -1) {
      result.push(property);
    }
  }
### .getProperties(object)

This allows the retrieval of property names of an object, enumerable or not,
inherited or not.

@param {Object} object
@returns {Array}
@namespace Utils
@name getProperties
@api public