| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 812b126 commit 931d02f
6 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,6 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | 5 | // Flags: --harmony-import-assertions | |
| 6 | 6 | ||
| 7 | - import {life} from 'modules-skip-imports-json-1.mjs'; | ||
| 7 | + import {life} from 'modules-skip-imports-json-assert-1.mjs'; | ||
| 8 | 8 | ||
| 9 | 9 | assertEquals(42, life()); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | // Flags: --allow-natives-syntax --harmony-import-assertions | |
| 6 | 6 | ||
| 7 | 7 | var life; | |
| 8 | - import('modules-skip-imports-json-1.mjs',).then(namespace => life = namespace.life()); | ||
| 8 | + import('modules-skip-imports-json-assert-1.mjs',).then(namespace => life = namespace.life()); | ||
| 9 | 9 | ||
| 10 | 10 | %PerformMicrotaskCheckpoint(); | |
| 11 | 11 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,6 +4,6 @@ | |||
| 4 | 4 | ||
| 5 | 5 | // Flags: --harmony-import-attributes | |
| 6 | 6 | ||
| 7 | - import {life} from 'modules-skip-imports-json-1.mjs'; | ||
| 7 | + import {life} from 'modules-skip-imports-json-with-1.mjs'; | ||
| 8 | 8 | ||
| 9 | 9 | assertEquals(42, life()); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ | |||
| 5 | 5 | // Flags: --allow-natives-syntax --harmony-import-attributes | |
| 6 | 6 | ||
| 7 | 7 | var life; | |
| 8 | - import('modules-skip-imports-json-1.mjs',).then(namespace => life = namespace.life()); | ||
| 8 | + import('modules-skip-imports-json-with-1.mjs',).then(namespace => life = namespace.life()); | ||
| 9 | 9 | ||
| 10 | 10 | %PerformMicrotaskCheckpoint(); | |
| 11 | 11 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,6 @@ | |||
| 1 | + // Copyright 2021 the V8 project authors. All rights reserved. | ||
| 2 | + // Use of this source code is governed by a BSD-style license that can be | ||
| 3 | + // found in the LICENSE file. | ||
| 4 | + | ||
| 5 | + import json from "modules-skip-1.json" with { type: "json" }; | ||
| 6 | + export function life() { return json.life; } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments