Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Execercise for loop

let str1 = "javascript";  
// Example output: 
// jZvZsZrZpZ OR each letter on a new line
// HINT: You can use  if((i+1) % 2 == 0) to check for even indexes
Source by avantutor.com #
 
PREVIOUS NEXT
Tagged: #Execercise #loop
ADD COMMENT
Topic
Name
1+9 =