Commit 28242ec
authored
fix: URLSearchParams.forEach() crash and spec compliance (#327)
- Use v8::Undefined(isolate) instead of empty v8::Local<v8::Value>()
- Changed argument order from (key, value) to (value, key, searchParams)
- Use get_entries() iterator instead of get_keys() + get() for duplicate keys
- Support the optional thisArg second parameter1 parent f0c9df3 commit 28242ec
2 files changed
Lines changed: 396 additions & 341 deletions
0 commit comments