Skip to content

Commit 2a5fcb2

Browse files
mureiniklawlight-org
authored andcommittedMar 18, 2025
doc: fix typo in url.md
"objg" -> "obj" in `URLPattern` constructor documentation. Fixes: #57464 PR-URL: #57467 Co-authored-by: Lawlight <lawlight02@protonmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent 17ccf92 commit 2a5fcb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎doc/api/url.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ case-insensitive matching if set to true.
767767

768768
The constructor can throw a `TypeError` to indicate parsing failure.
769769

770-
#### `new URLPattern(objg[, baseURL][, options])`
770+
#### `new URLPattern(obj[, baseURL][, options])`
771771

772772
* `obj` {Object} An input pattern
773773
* `baseURL` {string | undefined} A base URL string

0 commit comments

Comments
 (0)
Please sign in to comment.