Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript console

// our string
let string = 'ABCDEFG';

// splits every letter in string into an item in our array
let newArray = string.split('');

console.log(newArray);
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #javascript #console
ADD COMMENT
Topic
Name
5+3 =