mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 01:58:05 -05:00
f3193e0e1c
Spend quite some time trying to get this working. With proper example would have been a lot faster. So this is pr with the example. I also rearranged examples a little bit to allow for addition of more examples
5 lines
170 B
JavaScript
5 lines
170 B
JavaScript
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
function hello() {
|
|
console.log("Hello from extension!");
|
|
}
|
|
globalThis.Extension = { hello };
|