Skip to content

Instantly share code, notes, and snippets.

@viktorkelemen
Created June 8, 2012 10:10
Show Gist options
  • Select an option

  • Save viktorkelemen/2894833 to your computer and use it in GitHub Desktop.

Select an option

Save viktorkelemen/2894833 to your computer and use it in GitHub Desktop.
Listing all unicode characters
var counter = 0,
timer;
timer = setInterval( function () {
counter += 1;
if (counter < 95221) {
console.log(String.fromCharCode(counter));
} else {
clearTimeout(timer);
}
},100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment