/**
* Array module.
* @namespace lib.array
* @author Taka Okunishi
*
*/
var prototype = require('./_prototype.js');
/**
* Define an object property getter to access prototype property.
* @private
*/
function getPrototypeProperty (key) {
return {
enumerable: true,
get: function () {
return prototype[key];
}
};
}
// Export prototype properties with lazy loading.
Object.defineProperties(exports, {
newUniqueFilter: getPrototypeProperty('newUniqueFilter'),
toArray: getPrototypeProperty('toArray')
});