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