function setup () {
let p1 = new Player ('z', 's', 50, 1);
let p2 = new Player ('p', 'm', 425, 2);
Variables declared inside a function cease to exist when that function quits.
Unless they become a closure to another inner function.
function setup () {
let p1 = new Player ('z', 's', 50, 1);
let p2 = new Player ('p', 'm', 425, 2);
Variables declared inside a function cease to exist when that function quits.
Unless they become a closure to another inner function.