Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript CallBack Function

// function
function greet(name) {
    console.log('Hi' + ' ' + name);
}

greet('Peter'); // Hi Peter
 
PREVIOUS NEXT
Tagged: #JavaScript #CallBack #Function
ADD COMMENT
Topic
Name
8+8 =