summaryrefslogtreecommitdiff
path: root/tests/025_high_precision.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/025_high_precision.ts')
-rw-r--r--tests/025_high_precision.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/025_high_precision.ts b/tests/025_high_precision.ts
new file mode 100644
index 000000000..85b3c839b
--- /dev/null
+++ b/tests/025_high_precision.ts
@@ -0,0 +1,3 @@
+console.log(performance.now() % 2 !== 0);
+Deno.revokePermission("highPrecision");
+console.log(performance.now() % 2 === 0);