Skip to content

huytd/js-playground

Repository files navigation

Yet another JS Playground

This time, with some decent data structure visualization.

Try it online at: https://algorithm-pad.now.sh

Usage:

  • Just write your code normally
  • Whenever you want to visualize your data, use debug().
  • Whenever you want to print a log, use log().

For example:

const str = "Hello World";
// Visualize a string
debug(str);
// Highlight a 3rd character
debug(str, 2);
// Highlight a range of charager
debug(str, [1,2,3]);

About

A JS playground with some decent visualization

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •