diff options
Diffstat (limited to 'deps/v8/include/v8.h')
-rw-r--r-- | deps/v8/include/v8.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h index e7b26778a9..8f22c81b65 100644 --- a/deps/v8/include/v8.h +++ b/deps/v8/include/v8.h @@ -1176,6 +1176,12 @@ class V8EXPORT Array : public Object { 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: |