blob: 09bbd6a190eb3dc89761bf4f969dd0a6419bf4ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: Does not re-initialize binding created by similar forms
template: eval-global
info: |
B.3.3.3 Changes to EvalDeclarationInstantiation
[...]
a. If declaredFunctionOrVarNames does not contain F, then
[...]
---*/
//- before
assert.sameValue(f, undefined);
{
function f() {}
}
|