mirror of
https://github.com/denoland/deno.git
synced 2024-11-23 15:16:54 -05:00
11560387bb
* Revert "feat: move unstable Deno.permissions to navigator.permissions (#6244)"
This reverts commit 202e7fa6ad
.
5 lines
189 B
TypeScript
5 lines
189 B
TypeScript
window.onload = async (): Promise<void> => {
|
|
console.log(performance.now() % 2 !== 0);
|
|
await Deno.permissions.revoke({ name: "hrtime" });
|
|
console.log(performance.now() % 2 === 0);
|
|
};
|