Completed the third exercise
This commit is contained in:
		
							parent
							
								
									f41af975a6
								
							
						
					
					
						commit
						a4c8df3240
					
				| 
						 | 
					@ -1,5 +1,9 @@
 | 
				
			||||||
const reverseString = function() {
 | 
					const reverseString = function(string) {
 | 
				
			||||||
 | 
					//Convert String to Array
 | 
				
			||||||
 | 
					//Reverse Array
 | 
				
			||||||
 | 
					    return string.split('').reverse().join('').toString();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					//Join & Convert to String
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Do not edit below this line
 | 
					// Do not edit below this line
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue