PDA

Click to See Complete Forum and Search --> : Please help me. a function problem.



icefall
11-03-2000, 02:14 AM
Please help me:
Why I can not use this way like following to define a function, then assign it to a variable:
area = (function () {return Math.PI * radius *radius;})(5);

Thanks!
Icefall