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