modules-export-star-as1.mjs 309 Bytes
Newer Older
1 2 3 4 5
// Copyright 2018 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.
// Flags: --harmony-namespace-exports

6
import {foo} from "./modules-skip-8.mjs";
7 8
assertEquals(42, foo.default);
assertEquals(1, foo.get_a());