const singleton = new Singleton(); const singleton2 = new Singleton(); console.log(singleton.random); // 0.9087391609879097 console.log(singleton2.random); // 0.9087391609879097
const singleton = new Singleton(); const singleton2 = new Singleton(); console.log(singleton.random); // 0.9087391609879097 console.log(singleton2.random); // 0.9087391609879097