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
☺ | What are the ways to emit client-side JavaScript from server-side code in ASP. NET? |
☺ | How to make elements invisible? |
☺ | To write messages to the screen without using "document.write()"? |
☺ | How to use "join()" to create a string from an array using JavaScript? |
☺ | How to determine the state of a checkbox using JavaScript? |
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. |