Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 921ab52043594d39a4bec98e950d53206c5ae576..3429dcc38e0270b04049e8ba95b7cc99cc599605 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -2471,6 +2471,10 @@ class JSObject: public JSReceiver { |
static bool AllCanRead(LookupIterator* it); |
static bool AllCanWrite(LookupIterator* it); |
+ // ES6 19.1.3.6 Object.prototype.toString |
+ MUST_USE_RESULT static MaybeHandle<String> ObjectProtoToString( |
+ Isolate* isolate, Handle<Object> object); |
+ |
private: |
friend class JSReceiver; |
friend class Object; |