diff options
Diffstat (limited to 'files/zh-tw/web/api/setinterval/index.html')
-rw-r--r-- | files/zh-tw/web/api/setinterval/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-tw/web/api/setinterval/index.html b/files/zh-tw/web/api/setinterval/index.html index ac8ee376e0..031d48e764 100644 --- a/files/zh-tw/web/api/setinterval/index.html +++ b/files/zh-tw/web/api/setinterval/index.html @@ -22,7 +22,7 @@ original_slug: Web/API/WindowOrWorkerGlobalScope/setInterval <dt><code>code</code></dt> <dd>An optional syntax allows you to include a string instead of a function, which is compiled and executed every <code>delay</code> milliseconds. This syntax is <em>not recommended</em> for the same reasons that make using {{jsxref("eval", "eval()")}} a security risk.</dd> <dt><code>delay</code>{{optional_inline}}</dt> - <dd>The time, in milliseconds (thousandths of a second), the timer should delay in between executions of the specified function or code. See {{anch("Delay restrictions")}} below for details on the permitted range of <code>delay</code> values.</dd> + <dd>The time, in milliseconds (thousandths of a second), the timer should delay in between executions of the specified function or code. See <a href="#delay_restrictions">Delay restrictions</a> below for details on the permitted range of <code>delay</code> values.</dd> <dt><code>arg1, ..., argN</code> {{optional_inline}}</dt> <dd>Additional arguments which are passed through to the function specified by <em>func</em> once the timer expires.</dd> </dl> |