Public Member Functions | Static Public Member Functions

v8::Array Class Reference

#include <v8.h>

Inheritance diagram for v8::Array:
v8::Object v8::Value v8::Data

List of all members.

Public Member Functions

V8EXPORT uint32_t Length () const
V8EXPORT Local< ObjectCloneElementAt (uint32_t index)

Static Public Member Functions

static V8EXPORT Local< ArrayNew (int length=0)
static ArrayCast (Value *obj)

Detailed Description

An instance of the built-in array constructor (ECMA-262, 15.4.2).


Member Function Documentation

V8EXPORT Local<Object> v8::Array::CloneElementAt ( uint32_t  index  ) 

Clones an element at index |index|. Returns an empty handle if cloning fails (for any reason).

static V8EXPORT Local<Array> v8::Array::New ( int  length = 0  )  [static]

Creates a JavaScript array with the given length. If the length is negative the returned array will have length 0.


The documentation for this class was generated from the following file: