Is it possible inside list
to get all available functions - a
, b
, c
without their enumeration and without using window
?
(function(){
function a() { return 1; }
function b() { return 2; }
function c() { return 3; }
function list()
{
return [a, b, c];
}
})();