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 NamedImports in ImportDeclaration may contain a trailing comma
7 esid: sec-moduleevaluation
9 8.1.1.5.1 GetBindingValue (N, S)
12 3. If the binding for N is an indirect binding, then
13 a. Let M and N2 be the indirection values provided when this binding for
15 b. Let targetEnv be M.[[Environment]].
16 c. If targetEnv is undefined, throw a ReferenceError exception.
17 d. Let targetER be targetEnv's EnvironmentRecord.
18 e. Return ? targetER.GetBindingValue(N2, S).
22 import { x , } from './eval-gtbndng-indirect-trlng-comma_FIXTURE.js';
24 assert.sameValue(x, 1);