deno_core 0.402.0

A modern JavaScript/TypeScript runtime built with V8, Rust, and Tokio
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2018-2026 the Deno authors. MIT license.

// Statically import both lazy-loaded ESM siblings.
import { value as aValue } from "custom:lazy_a";
import { value as bValue } from "custom:lazy_b";

if (aValue !== "b-value") {
  throw new Error("expected aValue to be 'b-value', got: " + aValue);
}
if (bValue !== "b-value") {
  throw new Error("expected bValue to be 'b-value', got: " + bValue);
}