Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

default javascript

function say(message='Hi') {
    console.log(message);
}

say(); // 'Hi'
say('Hello') // 'Hello'
Source by www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #default #javascript
ADD COMMENT
Topic
Name
6+5 =