[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.javascript

function object

WALID BELRHALMIA

9/10/2015 11:40:00 PM

plz when we do var

var foo=function(){};//some function

foo is what an object that contain function or a pointer to the function
1 Answer

Evertjan.

9/11/2015 9:28:00 AM

0

WALID BELRHALMIA <wbelrhalmia@gmail.com> wrote on 11 Sep 2015 in
comp.lang.javascript:

> plz when we do var
>
> var foo=function(){};//some function
>
> foo is what an object that contain function or a pointer to the function

foo "is" a declared variable pointer.
the pointer pointing to a function at the moment.

We better not answer more of your school questions, Walid,
as you learn more by finding out yourself.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)