DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+7 =
Submit