This commit is contained in:
Karan
2021-11-25 20:03:22 +05:30
committed by GitHub
parent 1f7ff4782c
commit 913580c69b
-9
View File
@@ -1,9 +0,0 @@
function greet(fullName){
console.log(`Welcome, ${fullName[0]} ${fullName[1]}`)
}
function processCall(user,callback){
const fullName = user.split(" ");
callback(fullName);
}
processCall("Laurence Svekis",greet);