Unverified Commit 74570939 authored by Ruben Bridgewater's avatar Ruben Bridgewater Committed by Myles Borins
Browse files

doc: improve .throws RegExp info

It was not clear why the error name is actually also tested for when
using a regular expression. This is now clarified.

Backport-PR-URL: https://github.com/nodejs/node/pull/19230
PR-URL: https://github.com/nodejs/node/pull/17585


Reviewed-By: default avatarRich Trott <rtrott@gmail.com>
Reviewed-By: default avatarBenjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarGireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: default avatarEvan Lucas <evanlucas@me.com>
parent 612ba1a3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment