commit | 1fb76f055a4a0d0a2f5e5d2784b0f070fc279b2b | [log] [tgz] |
---|---|---|
author | caitpotter88 <caitpotter88@gmail.com> | Tue Apr 07 19:28:33 2015 |
committer | Commit bot <commit-bot@chromium.org> | Tue Apr 07 19:28:42 2015 |
tree | 43ed1cc6620254326683e17e02285e417883a69c | |
parent | f089e5c8467047a1571ecbbfc5556a7e619c6b1d [diff] |
[es6] emit error when for-in loop declarations are initialized in strict mode The ES6 grammar forbids the initialization of variable declarations in IterationStatements. This CL will report `for (var x = y in z)` as a SyntaxError in strict mode (as done in JSC). It is possible that this could break sites in sloppy mode, and so that change can wait. BUG= R= LOG=N Review URL: https://codereview.chromium.org/1033823002 Cr-Commit-Position: refs/heads/master@{#27639}
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://code.google.com/p/v8/
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8
and fetch all of its dependencies. To stay up to date, run
git pull origin gclient sync
For fetching all branches, add the following into your remote configuration in .git/config
:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/* fetch = +refs/tags/*:refs/tags/*