Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix some buglets in surrogate pair decoding
First, the correct constant to use is 0x10000, aka Math.pow(2,20). Second, arrange to skip the low surrogate. Finally, fix the math in stringFromCode as well, and remove an extraneous semicolon.
- Loading branch information