test262/test/language/module-code/instn-iee-bndng-var_FIXTURE.js

19 lines
634 B
JavaScript

// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
export { x as y } from './instn-iee-bndng-var.js';
// Taken together, the following two assertions demonstrate that there is no
// entry in the environment record for ImportName:
assert.throws(ReferenceError, function() {
x;
});
assert.sameValue(typeof x, 'undefined');
// Taken together, the following two assertions demonstrate that there is no
// entry in the environment record for ExportName:
assert.throws(ReferenceError, function() {
y;
});
assert.sameValue(typeof y, 'undefined');