Consider Listing 9, which shows a new array of strings called options.
清单9展示了一个称为options的新的字符串数组。
But after that space is exhausted, a brand new array must be allocated and all the data copied to it.
但是在空间用尽之后,就必须分配全新的数组,并将所有数据复制到新数组。
The test drive site includes samples where you can try new array methods and play a game built with new ES5 capabilities.
测试站点包含了一些示例,大家可以使用新的数组方法,还有一些使用新的ES5功能实现的游戏。
The test drive site includes samples where you can try new array methods and play a game built with new ES5 capabilities.
体验站点上包括了一些示例,你可以在这些示例中尝试新的数组方法以及玩一个使用新的ES5功能来构建的游戏。
The result is a new array, where the i-th element is the result of applying the function to the i-th element of the original array.
结果是一个新数组,其中的第i个元素就是将此函数应用到原始数组的第i个元素后的结果。
The new array replaces the released array in the array variable.
新数组将替换数组变量中已释放的数组。
Let's create a new array with the new hero appended and assign that to heroes.
让我们创建一个新数组,把这个英雄追加进去,并把它赋给heroes。
After doing this, the contents of the smaller array get copied to the new array.
这样做之后,小的数组的内容被复制到新的数组。
A change in either the new array or the original array will result in a change to the other.
此时新阵列的改变会导致原始阵列的改变,而原始阵列的改变也会导致新阵列的改变。
The result is a new array of public spaces, from canopied picnic grounds to a broad bandstand.
产生了一系列公共空间,从野餐场地到室外的音乐演奏台。
The first step in the rehash is to decide the sizes of the new array part and the new hash part.
再散列的第一步是确定新数组部分和新散列部分的尺寸。
Otherwise, a new array is allocated with the runtime type of the specified array and the size of this collection.
否则使用指定数组的运行时类型和当前集合的大小创建一个新数组。
On Monday, the Internet Corporation for Assigned Names and Numbers (ICANN) voted to allow a new array of Internet domain endings.
本周一,国际互联网名称和编号分配公司(ICANN)投票通过了新的一批互联网域名后缀。
For example, the Build array function shown in figure 7.23 has been configured to concatenate two arrays and one element into a new array.
例如,图7.23中的创建数组函数被设定用来结合两个数组和一个单个元素产生一个新的数组。
One common means of storing data, called an array, is very easy to split in two; but combining two arrays requires copying the contents of both into a new array.
常用的数据存储方法是数组,它很容易被一分为二的,但是合并两个数组则需要把两部分都拷贝到一个新的数组中(对内存有很大的要求)。
Isn't "new Array " more consistent with the way every other kind of object is instantiated?
难道“new Array”不是与其它类型对象的实例化方式更一致吗?
All of the options from the select list are copied to the new Array by creating a new option object from each of the old options.
根据每个旧选项创建一个新的Option对象,从而将选择列表中的全部选项复制到新array中。
All of the options from the select list are copied to the new Array by creating a new option object from each of the old options.
根据每个旧选项创建一个新的Option对象,从而将选择列表中的全部选项复制到新array中。
应用推荐