Chromium Code Reviews| Index: include/v8.h |
| =================================================================== |
| --- include/v8.h (revision 2242) |
| +++ include/v8.h (working copy) |
| @@ -1176,6 +1176,12 @@ |
| public: |
| uint32_t Length() const; |
| + /** |
| + * Clones an element at index |index|. Returns an empty |
| + * handle if cloning fails (for any reason). |
| + */ |
| + Local<Object> CloneElementAt(uint32_t index); |
| + |
| static Local<Array> New(int length = 0); |
| static Array* Cast(Value* obj); |
| private: |