Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

console.log() Print Values Stored in Variables

// program to print variables values

// storing values
const greet = 'Hello';
const name = 'Jack';

console.log(greet + ' ' + name);
 
PREVIOUS NEXT
Tagged: #Print #Values #Stored #Variables
ADD COMMENT
Topic
Name
2+4 =