I want to push functions with params to an array without getting them executed. Here is what i have tried so far:
var load_helpers = require('../helpers/agentHelper/loadFunctions.js');
var load_functions = [];
load_functions.push(load_helpers.loadAgentListings(callback , agent_ids));
load_functions.push(load_helpers.loadAgentCount(callback , agent_data));
But in this way functions gets executed while pushing. This Question provides similar example but without params. How can I include params in this example?