Reputation: 2777
function test1 (){
//do something
}
To call out the function above, i just need to write test1();
var check_day = function($select_d){
//do something
};
How can I call out the function which is assigned to a variable?
Upvotes: 9
Views: 12212
Reputation: 160321
The same way–call a function using parens ()
:
check_day(the_parameter);
Upvotes: 20