mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
12 lines
221 B
JavaScript
12 lines
221 B
JavaScript
'use strict';
|
|
|
|
const _features = [];
|
|
|
|
module.exports = {
|
|
getFeatures: () => Promise.resolve(_features),
|
|
addFeature: (feature) => _features.push(feature),
|
|
reset: () => {
|
|
_features.lengyh = 0;
|
|
},
|
|
};
|