Sign in
cobalt
/
cobalt
/
4658b9378e5516ba0f7113ef3cb3af24e4850db7
/
.
/
src
/
v8
/
test
/
mjsunit
/
function-name-eval-shadowed.js
blob: 70cc4b9c547808a0921ca8111bf90694a49b479c [
file
] [
log
] [
blame
]
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
assertEquals
(
200
,
(
function
f
()
{
eval
(
"var f = 100"
);
f
=
200
;
return
f
})());