dist/type.js
/**
 * @internal
 * @description
 * Adds a property to an object.
 * http://johndyer.name/native-browser-get-set-properties-in-javascript/
 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty
 *
 * @param {Object} obj The object on which to define the property.
 * @param {String} prop The name of the property to be defined or modified.
 * @param {Object} descriptor The descriptor for the property being defined or modified.
 */
@internal
@description
Adds a property to an object.

@param {Object} obj The object on which to define the property.
@param {String} prop The name of the property to be defined or modified.
@param {Object} descriptor The descriptor for the property being defined or modified.
@internal @description Adds a property to an object . @param { Object } obj The object on which to define the property . @param { String } prop The name of the property to be defined or modified . @param { Object } descriptor The descriptor for the property being defined or modified .
function defineProperty( obj, prop, descriptor )
{
    if ( descriptor.enumerable === undefined )
        descriptor.enumerable = true;
    if ( descriptor.configurable === undefined )
        descriptor.configurable = true;
    Object.defineProperty( obj, prop, descriptor );
}
function defineProperty ( obj , prop , descriptor ) { if ( descriptor . enumerable === undefined ) descriptor . enumerable = true ; if ( descriptor . configurable === undefined ) descriptor . configurable = true ; Object . defineProperty ( obj , prop , descriptor ) ; }
@internal
 @description
 Adds a property to an object.
@internal @description Adds a property to an object .