🛑Avoid these methods and situations in PSce

PCse runs each node. And each node has different time period (in terms of miliseconds) if we consider milisecond time tick.

So , We dont recommended that use below methods which depend on your condition

Please do not leave unused variables in PSce.

// defining V (variable)
let V={};
.
.
.
(V has not been used anywhere, it has been only defined)

if you wont use the V variable next codes, system might be occurred an error.

1- Math.random() or depends on this method

You can use Tools.getRandom() which can generate 6 digits random number each 30 seconds.

2- new Date().getTime()

in PSce's. Because each node generates different random number and different time Ticks.

Last updated