Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 284dad7

Browse filesBrowse files
fossamagnaMylesBorins
authored andcommitted
test: use Number.isNaN()
PR-URL: #17319 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 94abefb commit 284dad7
Copy full SHA for 284dad7

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-process-emit.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-process-emit.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ process.emit('normal', 'normalData');
1919
process.emit(sym, 'symbolData');
2020
process.emit('SIGPIPE', 'signalData');
2121

22-
assert.strictEqual(isNaN(process._eventsCount), false);
22+
assert.strictEqual(Number.isNaN(process._eventsCount), false);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.