mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -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);
|
|
};
|