mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-08 23:14:06 +08:00
17 lines
1.2 KiB
HTML
17 lines
1.2 KiB
HTML
<article id="wikiArticle">
|
||
<div>
|
||
<div><div class="blockIndicator obsolete obsoleteHeader"><p><strong><span class="icon-only-inline" title="This is an obsolete API and is no longer guaranteed to work."><i class="icon-trash"> </i></span> 已废弃</strong><br/>This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.</p></div></div>
|
||
<div>
|
||
<div class="note">
|
||
<p><strong>Note:</strong> This object was implemented in Firefox 17 and has been removed from <span title="(Firefox 29 / Thunderbird 29 / SeaMonkey 2.26)">Gecko 29</span> in favor of ParallelJS (PJS) currently available in the Nightly channel (<a class="external" href="https://bugzilla.mozilla.org/show_bug.cgi?id=944074" rel="noopener" title="FIXED: PJS: rm ParallelArray">bug 944074</a>).</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<h2 id="概述">概述</h2>
|
||
<p>ParallelArray的目标是在web应用程序中让数据并行.</p>
|
||
<h2 id="语法">语法</h2>
|
||
<pre><code class="language-javascript">new ParallelArray()
|
||
new ParallelArray([element0, element1, ...])
|
||
new ParallelArray(arrayLength, elementalFunction)</code></pre>
|
||
<p> </p>
|
||
</article> |