mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 10:07:54 -05:00
efc8372241
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 };
|