Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Function example

// Define a function that prints a stringfunction welcomeMessage() {  console.log('Welcome to JavaScript');}// Call the functionwelcomeMessage();
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #Function
ADD COMMENT
Topic
Name
3+3 =