Similar to Assafi's Answer, You can use Math.random() with an array to do this easily.
Best of yet (unlike the Accepted Answer) NO eval() !!!
First make an Array, (If you add Duplicate Values, You can technically make a "Percentage" or "Higher/Lower Chance" that a function will be executed over another.
// F1 and F2 have equal chances of Activating, while F3 is Rare.
// Remove Duplicates for them ALL to have an Equal Chance.
var array = ['F1','F1','F2','F2','F3']
Next, you want to use a function with If Statements, along with an Array Randomizer.
var ranFunc;
function start() { // Randomly Execute Function
ranFunc = array[Math.floor(Math.random() * array.length)];
if (ranFunc == 'F1') {
// do stuff
}
if (ranFunc == 'F2') {
// do stuff
}
if (ranFunc == 'f3') {
// do stuff
}
}