This commit is contained in:
Karan 2021-11-25 20:03:22 +05:30 committed by GitHub
parent 1f7ff4782c
commit 913580c69b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);