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 a933712

Browse filesBrowse files
tniessenruyadorno
authored andcommitted
doc: fix optionality of callback arg of checkPrime
The callback argument is required. PR-URL: #44311 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
1 parent d3f3bf6 commit a933712
Copy full SHA for a933712

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

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2904,7 +2904,7 @@ is currently in use. Setting to true requires a FIPS build of Node.js.
29042904
This property is deprecated. Please use `crypto.setFips()` and
29052905
`crypto.getFips()` instead.
29062906

2907-
### `crypto.checkPrime(candidate[, options[, callback]])`
2907+
### `crypto.checkPrime(candidate[, options], callback)`
29082908

29092909
<!-- YAML
29102910
added: v15.8.0

0 commit comments

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