let myString: string = "Hello World"; const reverse = ( str: string = "no string was provided" ) => str.split("").reverse().join(""); console.log(reverse(myString));
If you see anything you’d like to change or update, please consider contributing.
Note: The solution shown above is the current solution in the Sample Programs repository as of Oct 03 2019 20:52:37. The solution was first committed on Oct 03 2019 20:46:56. As a result, documentation below may be outdated.
No ‘How to Implement the Solution’ section available. Please consider contributing.
No ‘How to Run the Solution’ section available. Please consider contributing.