feat: Add Be and tbd skill, also added Roadmap file

This commit is contained in:
2026-05-10 16:32:12 -04:00
parent 3500ade13f
commit 0bb8885802
29587 changed files with 10611695 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
var configurazione = require('../lib/configurazione');
function Icecream(userOptions)
{
var defaultOptions = {
name: 'Super delicious icecream',
flavours: ['vanilla', 'strawberry', 'chocolate'],
price: 10,
discount: false
};
// add the default options to the configurazione library
configurazione.defaults(defaultOptions);
// add the user options to the configurazione library
configurazione.options(userOptions);
var name = configurazione.get('name');
console.log(name); // prints 'Super delicious icecream'
var discount = configurazione.get('discount');
console.log(discount); // prints 'true', since user options take precedence over default options
var price = configurazione.get('price');
console.log(price); // prints '10'
// apply the discount
if(configurazione.get('discount'))
{
configurazione.set('price', 8);
}
var price = configurazione.get('price');
console.log(price); // prints '8'
}
new Icecream({discount: true});