var from = function() { return ['a', 'b', 'c']; }; var to = function(array) { alert(array()); }; to(from);