MCQOPTIONS
Bookmark
Saved Bookmarks
→
Technical MCQs
→
2D Transformation And Answers
→
The Function() constructor expects ______ number o...
1.
The Function() constructor expects ______ number of string arguments
A.
0
B.
1
C.
2
D.
any
E.
Answer» E.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
The Function() constructor expects ______ number of string arguments
Does JavaScript allows us to write our own functions as well?
Which statement required if you want to return a value from a function?
The most common way to define a function in JavaScript is by using the ____________ keyword.
Code A: var x = 10; y = --x + 1;alert(y);Code B: var x = 10;y = x-- + 1;alert(y);11.A _________ is a group of reusable code which can be called anywhere in your program.
function message() { var name = "Bench"; alert(name); }10.What is the output for code A and B?
Variable declared is example of ___________ Variable.
When you invoke the........ method on a function f and pass an object o, the method returns a new function.
........ functions need not allow invocations with zero arguments.
num1=5;function cal() {num1=10;num2=5;num3=num2*num1;console.log(num3);}cal();6.Functions are invoked as functions or as methods with an __________.
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply