javascript

function sayHello(args="naam nahi hai"){

return "Hello"+args;

}

let add=function(i,j){

return i+j;

}

let sub=(i,j)=> i-j;

console.log(add(20,10));

console.log(sayHello());

console.log(sayHello("manuu"));

console.log(sub(20,10));

this code is used to add and sub the values and print them along with the string 

Posted on by