var r = 0; for (let i = 0; i < 20; i++) { r = Math.floor(Math.random() * 3); console.log(r); }
This Pen is owned by Paul O'Brien on CodePen.
See more by @paulobrien on CodePen
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.