Thread
:
java
View Single Post
#
2
(
permalink
)
02-19-2008, 02:22 AM
sureshbb
D-Web Sr.Programmer
Join Date: Aug 2007
Posts: 149
Re: java
How to create a function using function constructor?
The following example illustrates this
It creates a function called square with argument x and returns x multiplied by itself.
var square = new Function ("x","return x*x");
sureshbb
View Public Profile
Send a private message to sureshbb
Find all posts by sureshbb