Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion files/en-us/web/api/window/queuemicrotask/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ queueMicrotask(callback)
### Parameters

- `callback`
- : A {{jsxref("function")}} to be executed when the browser engine determines it is
- : A {{jsxref("Function")}} to be executed when the browser engine determines it is
safe to call your code. Enqueued microtasks are executed after all pending tasks have
completed but before yielding control to the browser's event loop.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/window/setinterval/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ setInterval(func, delay, param1, param2, /* …, */ paramN)
### Parameters

- `func`
- : A {{jsxref("function")}} to be executed every `delay` milliseconds.
- : A {{jsxref("Function")}} to be executed every `delay` milliseconds.
The first execution happens after `delay` milliseconds.
- `code`
- : A {{domxref("TrustedScript")}} or a string of arbitrary code that is compiled and executed every `delay` milliseconds.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/window/settimeout/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ setTimeout(func, delay, param1, param2, /* …, */ paramN)
### Parameters

- `func`
- : A {{jsxref("function")}} to be executed after the timer expires.
- : A {{jsxref("Function")}} to be executed after the timer expires.
- `code`
- : A {{domxref("TrustedScript")}} or a string of arbitrary code that is compiled and executed after `delay` milliseconds.
This can be used instead of passing a function, but is _strongly discouraged_ for the same reasons that make using {{jsxref("Global_Objects/eval", "eval()")}} a security risk.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ queueMicrotask(callback)
### Parameters

- `callback`
- : A {{jsxref("function")}} to be executed when the browser engine determines it is
- : A {{jsxref("Function")}} to be executed when the browser engine determines it is
safe to call your code. Enqueued microtasks are executed after all pending tasks have
completed but before yielding control to the browser's event loop.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ setInterval(func, delay, param1, param3, /* …, */ paramN)
### Parameters

- `func`
- : A {{jsxref("function")}} to be executed every `delay` milliseconds.
- : A {{jsxref("Function")}} to be executed every `delay` milliseconds.
The first execution happens after `delay` milliseconds.
- `code`
- : A {{domxref("TrustedScript")}} or a string of arbitrary code that is compiled and executed every `delay` milliseconds.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ setTimeout(func, delay, param1, param2, /* …, */ paramN)
### Parameters

- `func`
- : A {{jsxref("function")}} to be executed after the timer expires.
- : A {{jsxref("Function")}} to be executed after the timer expires.
- `code`
- : A {{domxref("TrustedScript")}} or a string of arbitrary code that is compiled and executed every `delay` milliseconds.
This can be used instead of passing a function, but is _strongly discouraged_ for the same reasons that make using {{jsxref("Global_Objects/eval", "eval()")}} a security risk.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ new Promise(executor)
### Parameters

- `executor`
- : A {{jsxref("function")}} to be executed by the constructor. It receives two functions as parameters: `resolveFunc` and `rejectFunc`. Any errors thrown in the `executor` will cause the promise to be rejected, and the return value will be neglected. The semantics of `executor` are detailed below.
- : A {{jsxref("Function")}} to be executed by the constructor. It receives two functions as parameters: `resolveFunc` and `rejectFunc`. Any errors thrown in the `executor` will cause the promise to be rejected, and the return value will be neglected. The semantics of `executor` are detailed below.

### Return value

Expand Down