Update the function generateAlphabet
that accepts a single argument, limit
. The function should return a string containing the uppercase English alphabets from A up to the limit
th letter.
For example, if limit is 5, the function should return ABCDE. If the limit is less than 1 or greater than 26, the function should return an empty string.
You can refer to this link to find the list of Unicode character sets.