Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
URL parameters getter
Diriector_Doc
Mar 11th, 2021
(
edited
)
233
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
let urlParams
=
a
=>
(
a
=
{
}
,
new
URLSearchParams
(
window.
location
.
search
)
.
forEach
(
(
e
,
o
)
=>
a
[
o
]
?
"object"
==
typeof
a
[
o
]
?
a
[
o
]
.
push
(
e
)
:
a
[
o
]
=
[
a
[
o
]
,
e
]
:
a
[
o
]
=
e
)
,
a
)
;
Add Comment
Please,
Sign In
to add comment
Public Pastes
Review Skilling
PHP | 1 min ago | 2.29 KB
Review Skilling
PHP | 1 min ago | 2.55 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 18 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 29 min ago | 0.38 KB
Контроль выхода
C# | 33 min ago | 0.61 KB
Review Doto
PHP | 34 min ago | 2.66 KB
Review Doto
PHP | 34 min ago | 2.45 KB
ДЗ Наибольший элемент
C# | 38 min ago | 1.54 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!