It seems that setTimeout in the “lax mode” environment provided for Custom PIxels is altered to floor the duration at around 1 second. The following code:
void function heartbeat() {
console.time()
setTimeout(() => {
console.timeEnd()
heartbeat()
})
}()
results in the following logs:
Is this behavior intentional? And if so, why?
