Computer Science, asked by rraamm13, 7 months ago

How to assign a function to a variable with the JavaScript Function constructor?
Select one:
a. var f=New Function("x", "y" "return x", "return y");
b. var f= new Function("x","y", "return x+ y");
c. var f=Function("x",y","return x+y");
d. var f=Function(x,y){return x+y;)​

Answers

Answered by billyh62626
1

Answer:

here is your answers

Explanation:

to assign a function to a variable with java script .

i select (a) x is return so there is your answer. it is simple

PLEASE MARK ME AS BRAINLIST

Similar questions