feat(runtime): Add example for extension with ops (#19204)

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
This commit is contained in:
Exidex 2023-05-31 22:26:24 +02:00 committed by GitHub
parent b1e28b0708
commit f3193e0e1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 59 additions and 8 deletions

View file

@ -0,0 +1,4 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
console.log("Hello world!");
console.log(Deno);
Extension.hello();