I have an object that defines a bunch of functions like this:
myObject = {
"item 1": function() {
return "I'm item 1";
},
"item 2": function() {
return "I'm item 2";
}
};
I want to write a function that calls all of the functions defined in this object without having to know the names of the functions or the number of functions. Is this possible?