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

Unified Diff: src/js/regexp.js

Issue 1776883005: Put RegExp js code in strict mode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Better testing Created 4 years, 9 months 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 | « no previous file | test/mjsunit/regexp-lastIndex.js » ('j') | test/mjsunit/regexp-lastIndex.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/regexp.js
diff --git a/src/js/regexp.js b/src/js/regexp.js
index bee2e7644e91dcb02a7f7227d83df9a7cbc8756e..830fc75b30f7f3d999e99b7971cf08d3a41243f8 100644
--- a/src/js/regexp.js
+++ b/src/js/regexp.js
@@ -4,6 +4,8 @@
(function(global, utils) {
+'use strict';
+
%CheckIsBootstrapping();
// -------------------------------------------------------------------
« no previous file with comments | « no previous file | test/mjsunit/regexp-lastIndex.js » ('j') | test/mjsunit/regexp-lastIndex.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698