Skip to content
Permalink
Browse files
doc: do not use "Returns:" for crypto.constants
This is not a function and should not use the term "return" to describe
its type or value.

PR-URL: #44481
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
tniessen authored and RafaelGSS committed Sep 7, 2022
1 parent cf19a79 commit 05006eddb204032819ec6ecb9c48000aaa30ff03
Showing 1 changed file with 5 additions and 3 deletions.
@@ -2865,9 +2865,11 @@ Does not perform any other validation checks on the certificate.
added: v6.3.0
-->

* Returns: {Object} An object containing commonly used constants for crypto and
security related operations. The specific constants currently defined are
described in [Crypto constants][].
* {Object}

An object containing commonly used constants for crypto and security related
operations. The specific constants currently defined are described in
[Crypto constants][].

### `crypto.DEFAULT_ENCODING`

0 comments on commit 05006ed

Please sign in to comment.