Return a specific letter
Given a string and a number, return the specific letter based on the given number.
Sample Code:
function specificLetter(str,n) {
// Enter your logic here...
}
Examples:
Input: 'Meow',1
Output: 'M'
Explanation: 'M' is the 1st letter.
Input: 'Javascript',6
Output: 'c'
Explanation: 'c' is the 6th letter.