transformObjectKeys - duplicate variable declaration
See original GitHub issueHi, managed to reproduce the error with a minimal example below:
Error will only happen if exceeds 50 assignments.
const a1 = { x: 1 }
, a2 = { x: 2 }
, a3 = { x: 3 }
, a4 = { x: 4 }
, a5 = { x: 5 }
, a6 = { x: 6 }
, a7 = { x: 7 }
, a8 = { x: 8 }
, a9 = { x: 9 }
, a10 = { x: 10 }
, a11 = { x: 11 }
, a12 = { x: 12 }
, a13 = { x: 13 }
, a14 = { x: 14 }
, a15 = { x: 15 }
, a16 = { x: 16 }
, a17 = { x: 17 }
, a18 = { x: 18 }
, a19 = { x: 19 }
, a20 = { x: 20 }
, a21 = { x: 21 }
, a22 = { x: 22 }
, a23 = { x: 23 }
, a24 = { x: 24 }
, a25 = { x: 25 }
, a26 = { x: 26 }
, a27 = { x: 27 }
, a28 = { x: 28 }
, a29 = { x: 29 }
, a30 = { x: 30 }
, a31 = { x: 31 }
, a32 = { x: 32 }
, a33 = { x: 33 }
, a34 = { x: 34 }
, a35 = { x: 35 }
, a36 = { x: 36 }
, a37 = { x: 37 }
, a38 = { x: 38 }
, a39 = { x: 39 }
, a40 = { x: 40 }
, a41 = { x: 41 }
, a42 = { x: 42 }
, a43 = { x: 43 }
, a44 = { x: 44 }
, a45 = { x: 45 }
, a46 = { x: 46 }
, a47 = { x: 47 }
, a48 = { x: 48 }
, a49 = { x: 49 }
, a50 = { x: 50 }
, a51 = { x: 51 }
Issue Analytics
- State:
- Created 4 years ago
- Comments:63 (40 by maintainers)
Top Results From Across the Web
How do you convert an object with duplicate keys to JSON ...
How do you convert an object with duplicate keys to JSON/String? ; var obj = { name: "Mike" ; "name":"George","age" ; var obj2...
Read more >babel/plugin-transform-duplicate-keys
@babel/plugin-transform-duplicate-keys ... This plugin actually converts duplicate keys in objects to be computed properties, which then must be handled by the @ ...
Read more >Different Ways to Duplicate Objects in JavaScript
It turns out there are a lot of different ways to duplicate objects. In JavaScript, a variable can store two types of data:....
Read more >Object references and copying - The Modern JavaScript Tutorial
When an object variable is copied, the reference is copied, but the object itself is not duplicated. For instance:.
Read more >3 Ways to Clone Objects in JavaScript | SamanthaMing.com
Because objects in JavaScript are references values, you can't simply just copy using the = . But no worries, here are 3 ways...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Actually why not? Released as
0.25.0
just a few seconds ago. Thank you again for your help!Released as
0.25.1