sr c属性指定了脚本位置的URL。
The SRC attribute tag specifies the URL where the script is located.
对于这个数组中的每个脚本,只需传递进指定worker脚本位置的那个字符串就可以创建worker。
For each script in the array, you create the worker by simply passing in the string that specifies the location of the worker's script.
实际上这在大部分产品系统中都不应该出现,但是在测试脚本位置发生变化或程序员输入了错误的 URL 时,这种情况并不罕见。
This really shouldn't happen much in production systems, but it's not uncommon in testing for a script to move or for a programmer to enter an incorrect URL.
应用推荐