Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
const rod = (function rod() {
|
||||
const chars = "|/-\\";
|
||||
let i=0;
|
||||
return function() {
|
||||
i= (i+1) % 4;
|
||||
// We need to use process.stdout.write since console.log automatically adds a \n to the end of lines
|
||||
process.stdout.write(` ${chars[i]}\r`);
|
||||
}
|
||||
})();
|
||||
setInterval(rod, 250);
|
||||
Loading…
Add table
Add a link
Reference in a new issue