Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 7dbab3031c2f8252967a04f6a86fb3f823bdf18d..ca3bfefa3b49daa8d0625960a0695629d8be1fdf 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -1574,7 +1574,10 @@ typedef bool (*IndexedSecurityCallback)(Local<Object> host, |
/** |
* A FunctionTemplate is used to create functions at runtime. There |
* can only be one function created from a FunctionTemplate in a |
- * context. |
+ * context. The lifetime of the created function is equal to the |
+ * lifetime of the context. So in case the embedder needs to create |
+ * temporary functions that can be collected using Scripts is |
+ * preferred. |
* |
* A FunctionTemplate can have properties, these properties are added to the |
* function object when it is created. |