DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
syntax function
function myFunction(a, b){ let calc = a + b; return calc; } myFunction(5,3) // result= 8
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#syntax
#function
ADD COMMENT
Topic
COMMENT
Name
1+9 =
Submit