blob: 7cebb86d26b4e7c34bd6c179679a8be924f9cdab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: Existing variable binding is not modified
template: eval-func
info: |
B.3.3.3 Changes to EvalDeclarationInstantiation
[...]
a. If declaredFunctionOrVarNames does not contain F, then
[...]
---*/
//- setup
var init;
//- before
var f = 123;
init = f;
//- teardown
assert.sameValue(init, 123);
|