JavaScript charAt problem that I can’t seem to answer correctly : <p>Write a function called charAt which accepts a string and an index (number) and returns the character at that index.</p>

<p>The function should return an empty string if the number is greater than the length of the string.</p>

<p>Do not use the built in charAt method - the tests will fail if you do!</p>
