JavaScript Exercises Basic#15 - Printing the Middle Letters
Write a program to print a letter in the middle when given a string. If the length of a string is even number, print two middle letters.
Result Example
Solution
To get the index of middle letter, get the quotient of the length of string divided by ...
reyjang.hashnode.dev1 min read