Sign in
cobalt
/
cobalt
/
ac9ac065c5083565917b15e7a672a79599f2f00b
/
.
/
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
})());