Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JavaScript CallBack Function

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

greet('Peter'); // Hi Peter
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #JavaScript #CallBack #Function
ADD COMMENT
Topic
Name
9+9 =