Tag:#BOM programming

  • BOM programming ② (timer, execution queue)

    Time:2022-4-11

    Article catalogue timer Two kinds of timers Settimeout() timer Stop settimeout() timer Setinterval() timer Stop setinterval() timer this JS execution mechanism JS is single threaded Synchronous and asynchronous Synchronous and asynchronous tasks JS execution mechanism timer Two kinds of timers Window object provides us with two very useful methods – timer setTimeout() setInterval() Settimeout() timer […]