How To Create A Function Using Function Constructor

How To Create A Function Using Function Constructor


  • 3 Jan, 2012

    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");

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.