Mon Aug 15 2022 11:03:01 GMT+0000 (Coordinated Universal Time)
Saved by @ale_figure8
const single = Singleton.getInstance(); const single2 = Singleton.getInstance(); console.log(single.random); // 0.9087391609879097 console.log(single2.random); // 0.9087391609879097
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments