wooorm/is-hexadecimal

Comments do not match the ascii values

Closed this issue · 3 comments

In the index file, you have a mistake in the comments
Screen Shot 2022-03-16 at 9 25 32

it should be:

    (code >= 97 /* a */ && code <= 102) /* f */ ||
    (code >= 65 /* A */ && code <= 70) /* F */ ||
    (code >= 48 /* 0 */ && code <= 57) /* 9 */

Hah, whoops, you’re right. Want to work on a PR to fix it?

Cool, I'll open a PR

Thanks, fixed!