Is it possible to not define function parameters and use a default value in that case?
For example.
function nutrition_facts(calories = 0, fat = 0, carb = 0, protein = 0) {
cal += calories;
f += fat;
carbohydrate += carb;
p += protein;
}
// Usage.
nutrition(calories = 10, protein = 10);
calories and protein would be passed in as 10, and fat and carb would be passed in as 0.