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

Unified Diff: test/mjsunit/harmony/block-for-sloppy.js

Issue 1219853004: [es6] Initial support for let/const bindings in sloppy mode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Updated tests and comments Created 5 years, 5 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
Index: test/mjsunit/harmony/block-for-sloppy.js
diff --git a/test/mjsunit/es6/block-for.js b/test/mjsunit/harmony/block-for-sloppy.js
similarity index 99%
copy from test/mjsunit/es6/block-for.js
copy to test/mjsunit/harmony/block-for-sloppy.js
index 420c41e610cce619cdfd7e5a549b2d680979a52b..374c450fa08de4b24d2745c8dcc06f9f2529c38d 100644
--- a/test/mjsunit/es6/block-for.js
+++ b/test/mjsunit/harmony/block-for-sloppy.js
@@ -24,7 +24,8 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"use strict";
+
+// Flags: --no-legacy-const --harmony-sloppy
function props(x) {
var array = [];

Powered by Google App Engine
This is Rietveld 408576698