question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

let props = {}

const {
  defaultSort: { sort_column = null, sort_desc = false } = {},
} = props

=> assignment to constant var error

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
existentialismcommented, Mar 14, 2018

Should be fixed in beta.41!

0reactions
viankakrisnacommented, Feb 12, 2018

leaving this here for the people that is interested for a fix https://github.com/babel/babel/pull/7333

Read more comments on GitHub >

github_iconTop Results From Across the Web

Regression in babel transpilation · Issue #11045 · storybookjs ...
Describe the bug The following transpiled fine in 5.x: export class ClassWithTranspilationIssues { constructor(private configuration: any = { foo: 'bar' } ...
Read more >
https://software.llnl.gov/Babel/docs/README-2.0.0.txt
The Babel user then need only add the necessary code to the _Impl source ... is in $HOME/babel, the process for building and...
Read more >
[babel] using babel for regression testing
[babel] using babel for regression testing @ 2012-04-12 16:05 Ilya Shlyakhter ... Is there a babel command to do the following: evaluate all...
Read more >
regression | Yarn - Package Manager
regression -js is a JavaScript module containing a collection of linear least-squares ... Replaces the build system with just babel; Rewritten in es6...
Read more >
babel/register - Babel.js
js file. The new implementation is still experimental: it should have the same features as the existing one, but there may be some...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found