-
Write arrow function test send a param testing in that and assign any value to it, Console the testing param in it and call the function…
-
Write a same function above mentioned and return the value of testing param and call the function.
1 Like
function add (a,b) {
return a+b ()
}
console.log(4,5)
1 Like
const logTesting = (testing) => {
testing = “Hello, world!”;
console.log(testing);
}
logTesting(“test”);
1 Like
function division (x,y){
return a/b()
}
console.log(division(6,2));
1 Like
Function multiplty() {
Return 3*2
}
Console.log(multiply())
1 Like
function multiply(x,y) {
return x*y;
}
console.log(multiply(35,45));
1 Like
let test = (param) => {
console.log(param)
}
param(‘testing’)
1 Like
function sub (y, z) {
return y- z()
}
console.log(sub(5- 3))
1 Like
question: 1
function multiply(x,y){
return x*y;
}
console.log(multiply(2,2);
1 Like