Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Define function

function say(message) {
    console.log(message);
}

let result = say('Hello');
console.log('Result:', result);
Code language: JavaScript (javascript)
Source by www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #Define #function
ADD COMMENT
Topic
Name
9+7 =