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.

Support do expressions

See original GitHub issue

Is there any plans to support do expressions?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
codedavincicommented, Jun 5, 2017

@sanfilippopablo no problem at all 😃 ! The community needs more compassion and patience. My mentor, the chairman at the Post - PHD - on Computer Engineering at Stanford, would always say these three things:

  • If a kid can’t read your code, so you failed
  • A code with if statements is a sign of bad design.
  • Simplicity is the key and never repeat yourself

Glad to help, whenever you need 😃

Very kindly,

PS: Whenever you want to create a variable unassigned, it’s rather better to work with undefined, so let foo is just enough… undefined is falsy, therefore let foo = null is redundant 😄

0reactions
gaearoncommented, Jun 5, 2017

Yea, let’s wait for it to advance a little bit. Thanks for suggesting!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support for ECMAScript 'do'-expressions #13156 - GitHub
I'm curious about why we need do in do expression , why not just make any statement be an expression... import h from...
Read more >
A first look: do expressions in JavaScript (De ... - freeCodeCamp
No, it's about the T39 proposal called do expressions. If approved by TC39, “do expressions” will be part of JavaScript and could help...
Read more >
Proposal: “Statements as Expressions” using do - Ponyfoo
The do expression proposal lets you write a block of statements to be evaluated. The “completion value” is returned as the result of...
Read more >
Guide to expression syntax - Microsoft Support
Learn how to use expressions in Access when you need to work with values that do not reside directly in your data.
Read more >
Arrow function expressions - JavaScript - MDN Web Docs
An arrow function expression is a compact alternative to a traditional function expression, with some semantic differences and deliberate ...
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