v8/test/mjsunit/harmony
keuchel@chromium.org e8bccc2cb0 Block scoped const variables.
This implements block scoped 'const' declared variables in harmony mode. They
have a temporal dead zone semantics similar to 'let' bindings, i.e. accessing
uninitialized 'const' bindings in throws a ReferenceError.

As for 'let' bindings, the semantics of 'const' bindings in global scope is not
correctly implemented yet. Furthermore assignments to 'const's are silently
ignored. Another CL will introduce treatment of those assignments as early
errors.

Review URL: http://codereview.chromium.org/7992005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9764 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-10-25 08:33:08 +00:00
..
block-conflicts.js Block scoped const variables. 2011-10-25 08:33:08 +00:00
block-for.js Let bound iteration variables in for-loops 2011-10-17 12:19:06 +00:00
block-lazy-compile.js Preliminary code for block scopes and block contexts. 2011-08-11 16:29:28 +00:00
block-leave.js Introduce collective --harmony flag. 2011-10-12 12:23:06 +00:00
block-let-crankshaft.js Introduce collective --harmony flag. 2011-10-12 12:23:06 +00:00
block-let-declaration.js Block scoped const variables. 2011-10-25 08:33:08 +00:00
block-let-semantics.js Block scoped const variables. 2011-10-25 08:33:08 +00:00
block-scoping.js Block scoped const variables. 2011-10-25 08:33:08 +00:00
debug-blockscopes.js Let bound iteration variables in for-loops 2011-10-17 12:19:06 +00:00
debug-evaluate-blockscopes.js Introduce collective --harmony flag. 2011-10-12 12:23:06 +00:00
proxies-for.js Implement for-in loop for proxies. 2011-10-24 15:56:18 +00:00
proxies-function.js Adapt to latest spec changes for Proxy.create[Function]. 2011-10-24 16:25:30 +00:00
proxies-hash.js Implement identity hashes for proxies. 2011-09-22 13:54:53 +00:00
proxies.js Adapt to latest spec changes for Proxy.create[Function]. 2011-10-24 16:25:30 +00:00
typeof.js Implement Harmony semantics for typeof null (behind a flag). 2011-08-10 12:12:06 +00:00
weakmaps.js Fix parent of the WeakMap prototype. 2011-09-13 09:45:10 +00:00