Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: test/mjsunit/const-redecl.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/compiler/thisfunction.js ('k') | test/mjsunit/constant-folding.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/const-redecl.js
diff --git a/test/mjsunit/const-redecl.js b/test/mjsunit/const-redecl.js
index c0b97e6ced14c90b57b5226e87a8e35352bf621f..875e08e7c50bfbf615d9fd17c5187a7fdae6753c 100644
--- a/test/mjsunit/const-redecl.js
+++ b/test/mjsunit/const-redecl.js
@@ -268,7 +268,7 @@ eval("Object.defineProperty(this, 'i', { writable: true });"
var global = this;
assertThrows(function() {
- Object.defineProperty(global, 'j', { writable: true })
+ Object.defineProperty(global, 'j', { writable: true });
}, TypeError);
const j = 2; // This is what makes the function above throw, because the
// const declaration gets hoisted and makes the property non-configurable.
« no previous file with comments | « test/mjsunit/compiler/thisfunction.js ('k') | test/mjsunit/constant-folding.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698