← Back to release summary

Remove clamping of setInterval(...) to >= 1ms

Category
JavaScript
Type
Chromium catches up
Status
Enabled by default (Chrome 135)
Intent stage
None

Summary

Currently setInterval with a value less than 1 is clamped to 1. This intent removes that restriction. Before: setInterval(..., 0) -> 1ms delay. After: setInterval(..., 0) -> 0ms delay. Notes: * This has no effect on the 4ms clamping for nested calls to timeouts. * setTimeout clamping was removed in a previous intent.

Standards & signals

View on chromestatus.com