mirror of
https://github.com/denoland/deno.git
synced 2024-12-12 18:42:18 -05:00
66fd6f2866
Better example to close https://github.com/denoland/deno/issues/22600 --------- Signed-off-by: Matt Mastracci <matthew@mastracci.com>
7 lines
193 B
JavaScript
7 lines
193 B
JavaScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
import { op_hello } from "ext:core/ops";
|
|
function hello() {
|
|
op_hello("world");
|
|
}
|
|
|
|
globalThis.Extension = { hello };
|