A complete tutorial of javascript Interview Questions,free ebooks along with event-driven, interpreted client-side scripting and programming language,VB script.
April 29, 2008
How to create a function using function constructor?
The following example illustrates thisIt creates a function called square with argument x and returns x multiplied by itself.var square = new Function ("x","return x*x");