Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created July 26, 2016 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/bc0cb144f2d401220cf33ad88185bef0 to your computer and use it in GitHub Desktop.
Save tmcw/bc0cb144f2d401220cf33ad88185bef0 to your computer and use it in GitHub Desktop.
var start = parseInt('4E00', 16);
var end = parseInt('9FFF', 16);
var charactersInRange = chars.filter(function (charCode) {
return charCode >= start && charCode <= end;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment