blob: 588f1c5151520ae08f8c0455da2d094ba8e2c861 [file] [log] [blame]
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
Direct eval code has the same `this` binding as the calling context (global
scope)
esid: sec-performeval
---*/
assert.sameValue((0,eval)('this;'), this);