Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonggeon Lim <ooqwe486@gmail.com>2019-12-11 17:17:27 +0300
committerRich Trott <rtrott@gmail.com>2019-12-14 16:57:36 +0300
commit9c460e10d10570c6783fd51e885a50ea99464943 (patch)
tree496060c86445663f8c50cee1a5959bec642676f8 /lib/internal/v8_prof_polyfill.js
parentd64c1dc24a7323f5ee93c2eff65c37cd8fb71908 (diff)
lib: use strict equality comparison
Change '==' to '===' in v8_prof_polyfill.js, punycode.js. PR-URL: https://github.com/nodejs/node/pull/30898 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'lib/internal/v8_prof_polyfill.js')
-rw-r--r--lib/internal/v8_prof_polyfill.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/v8_prof_polyfill.js b/lib/internal/v8_prof_polyfill.js
index 33e57835666..0b94496fff8 100644
--- a/lib/internal/v8_prof_polyfill.js
+++ b/lib/internal/v8_prof_polyfill.js
@@ -41,7 +41,7 @@ const os = {
// Filter out vdso and vsyscall entries.
const arg = args[args.length - 1];
if (arg === '[vdso]' ||
- arg == '[vsyscall]' ||
+ arg === '[vsyscall]' ||
/^[0-9a-f]+-[0-9a-f]+$/.test(arg)) {
return '';
}