[openstreetmap/openstreetmap-website] Set iD map param with array (PR #5632)

Marwin Hochfelsner notifications at github.com
Wed Feb 12 18:32:17 UTC 2025


[MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment) says:
> The parentheses around the assignment statement are required when using object literal destructuring assignment without a declaration.

As for why it works in the console?
¯\\\_(ツ)_/¯

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5632#issuecomment-2654537805
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5632/c2654537805 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250212/1a0fcc3b/attachment.htm>


More information about the rails-dev mailing list