Skip to content

Commit

Permalink
Add URLSearchParams.entries()
Browse files Browse the repository at this point in the history
  • Loading branch information
Arshia001 committed Feb 13, 2024
1 parent 7a1dbea commit 4aecf4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/globals/url/search_params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ impl URLSearchParams {
Ok(())
}

#[ion(name = WellKnownSymbolCode::Iterator)]
#[ion(name = WellKnownSymbolCode::Iterator, alias = ["entries"])]
pub fn iterator(cx: &Context, #[ion(this)] this: &Object) -> ion::Iterator {
let thisv = this.as_value(cx);
ion::Iterator::new(SearchParamsIterator::default(), &thisv)
Expand Down

0 comments on commit 4aecf4f

Please sign in to comment.