How to create a function using function constructor?
Submitted by: AdministratorThe 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");
Submitted by: Administrator
It creates a function called square with argument x and returns x multiplied by itself.
var square = new Function ("x","return x*x");
Submitted by: Administrator
Read Online JavaScript Job Interview Questions And Answers
Top JavaScript Questions
☺ | Explain unescape() and escape() in JavaScript? |
☺ | What is the difference between RegisterClientScriptBlock and RegisterStartupScript? |
☺ | How to get the contents of an input box using JavaScript? |
☺ | How to create a popup warning box? |
☺ | What does the delete operator do? |
Top Top World Wide Web Categories
☺ | Cascading Style Sheet CSS Interview Questions. |
☺ | HTML5 Interview Questions. |
☺ | Basic Internet Interview Questions. |
☺ | Domain Name System (DNS) Interview Questions. |
☺ | JavaScript Interview Questions. |