D
Deno

help

modifying the Deno object

DDucko12/29/2022
heyo. is there any way to add our own properties to the Deno object? I read something which said since v1.12 it's no longer frozen but looks like that is no longer the case. wanting to add my own version to Deno.version. thanks! found how you have to do
Deno.version = {
...Deno.version,
custom: 'property'
};
Deno.version = {
...Deno.version,
custom: 'property'
};

Looking for more? Join the community!