Previously, the method accepted an Object array as its argument.
以前,这个方法接受Object数组作为它的参数。
Sets an element of an Object array.
设置一个对象数组的一个元素。
Returns an element of an Object array.
返回一个对象数组的一个元素。
The callback function then uses the forEach method on the Array object.
该回调函数然后使用Array对象的forEach方法。
It takes a function as its parameter and applies the function sequentially to each object in the Array.
它使用一个函数作为它的参数,然后依次将这个函数应用到Array中的每个对象中。
The first article showed you how jQuery works functionally, and how you can use it to search for page elements, loop through them, and access them like any Array object.
本系列的第一篇文章向您展示了jQuery是如何工作的,以及如何用它来搜索页面元素、循环遍历这些元素并像Array对象那样访问这些元素。
Isn't "new Array " more consistent with the way every other kind of object is instantiated?
难道“newArray”不是与其它类型对象的实例化方式更一致吗?
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中。
This code creates a new XML Document Object Model (DOM), then adds all of the data in the $items array to it.
这段代码创建了一个新的XML文档对象模型(Document Object Model ,DOM),然后将 $items数组中的所有数据都保存到这个模型中。
Array elements are nothing less than object properties, so they are accessed as such.
数组元素和对象属性是一样的,所以它们是这样被访问的。
The process itself uses another preprovided class called Alternative, to whose constructor these guard objects must be passed in as an object array.
进程本身使用另一个预先提供的类,叫作Alternative,这些警卫对象必须以对象数组的形式传递给它的构造函数。
The second change required is to construct (at the very least) an object array holding the actual values of parameters to be passed into the Collaborator class' constructor.
必需的第二项更改是(至少)构造一个保存传递给 Collaborator类的构造函数的参数实际值的对象数组。
When a socket connects, append the socket object to an array.
当一个套接字进行连接时,将该套接字对象附加到一个数组。
This representation can be returned in a variety of formats: XML, JSON, PHP object, PHP array, or serialized string.
该表示可以各种格式返回:XML、JSON、php对象、php数组或序列化字符串。
When the user enters new vehicle data, you create a new element in the array object.
当用户输入新车辆数据时,您将在数组对象中创建一个新元素。
Use the field name blog, and then create an array object.
使用字段名blog,然后创建一个数组对象。
You then add that new post to the persisted blog array object.
之后,可以将新的post添加到持久化的blog数组对象。
This does not apply to the comma separator, which is used in object literals, array literals, var statements, and parameter lists.
这不包括那些被用在对象定义,数组定义,var语句,和参数列表中的逗号分隔符。
The data we store in each menu item object is an array containing only one element: the name of the category.
我们储存在每个菜单项对象中的数据是一个仅包含一个元素的数组:类别名。
To set the extrusion path, you need to define an Edge object or an array of Edge objects.
要设置挤压路径,需要定义一个Edge对象或一个Edge对象数组。
The custom tag also has an optional params attribute, which can be a single object or an array of objects.
这个定制标记还有一个可选的 params属性,它可以是一个单一的对象或一个对象数组。
You traverse object graph and create the array of Stock objects.
您遍历对象图并创建Stock对象数组。
Each of those result objects is added to the results array for the main object.
每个结果对象都被添加到主对象的结果数组中。
This call applies only to that particular post object, not the entire @posts array.
这个调用只应用于该特定的post对象,而不是整个 @posts数组。
Remember that the prototype is an object, so it is also an associative array.
请记住,原型是一个对象,所以它也是一个关联数组。
This array is passed to the writer object to be written into the CSV file.
这个数组传递到写入器对象以便写入CSV文件。
Step 3: Create the XKMSLocate object with the key name and the array of response strings.
步骤3:用密钥名和响应字符串数组创建XKMSLocate对象。
ObjectRecOffset gives the offset in bytes of the first record in the array of MQOR object records that contain the names of the destination queues.
ObjectRecOffset为包含目标队列名称的MQOR对象记录数组中第一个记录提供字节偏移量。
When a PV array is shaded by another object, like a tree or a house, the solar panels get backed up with electrons like cars in a traffic jam, and the current drops.
当一个光伏阵列被树木或房屋等物体遮挡住时,太阳能电池中会发生电子堆积现象,好似在交通阻塞中的汽车一样,因而电流减弱。
It creates an array of JSON objects and passes each object into the constructor of the Story class (shown in Listing 6).
它创建一个JSON对象数组,并将每个对象传递到story类的构造器中(如清单6所示)。
应用推荐