array-like object的意思|示意

美 / / 英 / /

类数组对象


array-like object的网络常见释义

类似数组的对象 apply与call几乎完全相同,只是在传递参数时apply传递的是数组(array)或者是类似数组的对象( array-like object),其调用方式:

类数组对象 类数组对象 在 js 中,有些对象被叫做“类数组对象 ”(array-like object) ,因为这些对象看起来很像数组,可以使用 length 属性,但是无法使用数组的方法。

array-like object相关短语

1、 array like object 类数组对象

array-like object相关例句

SketchUp provides a specific Color object, but it's easier to substitute a simple RGB array like [64, 128, 255].

SketchUp 提供了一个 Color 对象,但是更容易的方法是使用一个简单的 RGB 数组替代,例如 [64, 128, 255]。

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对象那样访问这些元素。

Since the search results are being stored in an array, you'd expect functions to work through the array like you would any data object in any programming language.

因为搜索结果存储在一个数组中,您肯定希望函数遍历该数组,就像处理其他编程语言的数据对象一样。

Normally, the native toString() method prints a representation of the array just like the original representation of the object, without really showing the contents.

通常,原生 toString() 方法输出的数组表示就像对象的原始表示一样,并不真正显示内容。

This feature goes hand-in-hand with a new syntax for object creation, which makes it easy to create non-custom classes in Groovy with an array-like syntax.

这个特性与新的对象创建语法关系密切,新的语法可以用类似数组的语法很容易地在 Groovy 中创建 非定制类。

Turns an array-like object into a true array.

将类数组对象转换为数组对象。