| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
/cc @nodejs/collaborators |
Sorry, something went wrong.
|
@nodejs/documentation |
Sorry, something went wrong.
There was a problem hiding this comment.
Nit: no scare quotes around strict equal
Sorry, something went wrong.
This commit uses more consistent language in function descriptions and adds function parameter and return type information.
|
|
||
| Tests for deep equality between the `actual` and `expected` parameters. | ||
| Primitive values are compared with the equal comparison operator ( `==` ). | ||
| * `actual` {mixed} A value to check |
There was a problem hiding this comment.
Would Any be better instead of mixed?
Sorry, something went wrong.
There was a problem hiding this comment.
I used mixed because that is what I'm used to seeing in the online PHP documentation when they refer to a parameter that can be any or many different types. I figured other people coming from PHP might find that term more familiar than something else. shrug
Sorry, something went wrong.
There was a problem hiding this comment.
Closure and JSDoc use {*}
Sorry, something went wrong.
|
Looks like most of these improvements or variations on them have already landed via other PRs. I'm going to go ahead and close this but absolutely feel free to re-open it if it's something you plan on rebasing and continuing to work on. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Checklist
Affected core subsystem(s)
Description of change
Improve assert documentation by: