Skip to content

Commit fecc51b

Browse files
add new notes
1 parent b1d5bd9 commit fecc51b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notes/English/26-date.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,8 @@ setTimeout(() => {
319319

320320
In this example, the setTimeout function is called with a delay of 3 seconds (3000 milliseconds). After the specified delay, the anonymous function is executed and logs the message to the console.
321321

322-
setInterval:
323-
The setInterval function is similar to setTimeout, but instead of executing the function once, it executes the function repeatedly at a specified interval. The function also takes two arguments: the first is the function you want to execute, and the second is the interval time in milliseconds.
322+
setInterval:
323+
The setInterval function is similar to setTimeout, but instead of executing the function once, it executes the function repeatedly at a specified interval. The function also takes two arguments: the first is the function you want to execute, and the second is the interval time in milliseconds.
324324

325325
- Here's an example:
326326

0 commit comments

Comments
 (0)