Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index c1d38f22c49b8724dadd30bea574fd5d2b623135..e7e0938d56a8f6b117e10120ef029529e5f80062 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -197,7 +197,9 @@ var kMessages = { |
duplicate_proto: ["Duplicate __proto__ fields are not allowed in object literals"], |
param_after_rest: ["Rest parameter must be last formal parameter"], |
constructor_noncallable: ["Class constructors cannot be invoked without 'new'"], |
- array_not_subclassable: ["Subclassing Arrays is not currently supported."] |
+ array_not_subclassable: ["Subclassing Arrays is not currently supported."], |
+ for_in_loop_initializer: ["for-in loop variable declaration may not have an initializer."], |
+ for_of_loop_initializer: ["for-of loop variable declaration may not have an initializer."] |
}; |