mirror of
https://github.com/tc39/test262.git
synced 2025-07-05 21:24:40 +02:00
These tests are derived from the following files within the Google V8 project: test/mjsunit/es6/regress/regress-2506.js test/mjsunit/es6/regress/regress-3426.js test/mjsunit/es6/regress/regress-3683.js
12 lines
343 B
JavaScript
12 lines
343 B
JavaScript
// Copyright (C) 2014 the V8 project authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
/*---
|
|
es6id: 13.1
|
|
description: >
|
|
Redeclaration error within strict mode function inside non-strict code.
|
|
negative: SyntaxError
|
|
flags: [noStrict]
|
|
---*/
|
|
(function() { 'use strict'; { let f; var f; } })
|
|
|