Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Use JS's built-in URLSearchParams #42

@moeenio

Description

@moeenio

let getParams = function(url) {

Here, a function is defined to parse query parameters from a url string. There's no reason to do this because there exists the URLSearchParams object exactly for this purpose.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions