mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04: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);
|
|
};
|