summaryrefslogtreecommitdiff
path: root/runtime/js
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2021-04-12 00:40:42 +0100
committerGitHub <noreply@github.com>2021-04-12 01:40:42 +0200
commit8b49d948f58e0665e87e63f7e154ab53fa60a939 (patch)
treec4ecac6dc2ce62c894636084a2aa53da957c511d /runtime/js
parent06b5959eed5bd634851cd52dc24dca51e48d32de (diff)
fix(runtime/js/timers): Use (0, eval) instead of eval() (#10103)
Diffstat (limited to 'runtime/js')
-rw-r--r--runtime/js/11_timers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/11_timers.js b/runtime/js/11_timers.js
index 046609f75..eef1d39b2 100644
--- a/runtime/js/11_timers.js
+++ b/runtime/js/11_timers.js
@@ -442,7 +442,7 @@
if ("function" === typeof callback) {
callback();
} else {
- eval(callback);
+ (0, eval)(callback);
}
}