Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

String.length

let message = 'good nite';
console.log(message.length);
// Prints: 9
 
console.log('howdy'.length);
// Prints: 5
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
1+6 =