mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-05-14 23:24:46 +00:00
Upload of pre-existing files
This commit is contained in:
commit
4c21152830
150 changed files with 730703 additions and 0 deletions
16
Node.js/Standard Packages/url.md
Normal file
16
Node.js/Standard Packages/url.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Url Module
|
||||
|
||||
`http://user:pass@sub.example.com:8080/p/a/t/h?query=string#hash`
|
||||
|
||||

|
||||
|
||||
## Basics
|
||||
|
||||
```js
|
||||
|
||||
const url = new URL('/foo', 'https://example.org/');
|
||||
|
||||
URL.searchParams
|
||||
URL.searchParams.get("queryparam");
|
||||
URL.searchParams.has("queryparam");
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue