2 // Copyright (C) 2016 the V8 project authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
6 Binding is created but not initialized for exported `let` statements
7 esid: sec-moduledeclarationinstantiation
10 17. For each element d in lexDeclarations do
11 a. For each element dn of the BoundNames of d do
12 i. If IsConstantDeclaration of d is true, then
15 1. Perform ! envRec.CreateMutableBinding(dn, false).
17 includes: [fnGlobalObject.js]
21 var global = fnGlobalObject();
23 assert.throws(ReferenceError, function() {
25 }, 'Binding is created but not initialized.');
27 Object.getOwnPropertyDescriptor(global, 'test262'), undefined
30 export let test262 = 23;