ParallelArray

已废弃
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.

Note: This object was implemented in Firefox 17 and has been removed from Gecko 29 in favor of ParallelJS (PJS) currently available in the Nightly channel (bug 944074).

概述

ParallelArray的目标是在web应用程序中让数据并行.

语法

new ParallelArray()
new ParallelArray([element0, element1, ...])
new ParallelArray(arrayLength, elementalFunction)