diff options
Diffstat (limited to 'benchmark/url/url-searchparams-iteration.js')
-rw-r--r-- | benchmark/url/url-searchparams-iteration.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/url/url-searchparams-iteration.js b/benchmark/url/url-searchparams-iteration.js index 2b13992bdfc..cae2ef5df61 100644 --- a/benchmark/url/url-searchparams-iteration.js +++ b/benchmark/url/url-searchparams-iteration.js @@ -53,6 +53,6 @@ function main({ method, n }) { iterator(n); break; default: - throw new Error('Unknown method'); + throw new Error(`Unknown method ${method}`); } } |