Probable bug in previous_char() function
if ((two_previous_cc & 0xfc00) !== 0xd800) {
return previous_char;
}
as previous_char is the name of the function itself, and in other alternatives the function returns a string, it is unexpected to have the function return itself
Probable bug in previous_char() function
as previous_char is the name of the function itself, and in other alternatives the function returns a string, it is unexpected to have the function return itself