4 ms·
DOM operations are always synchronous. When modifying DOM, there is often a full layout+paint cycle before the next line is run.
by awestroke 5y ago
DOM operations are always synchronous. When modifying DOM, there is often a full layout+paint cycle before the next line is run.