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 x of [a, b, c]

See original GitHub issue

jsbeautify converts this:

for i of [1, 2] {
    console.log(i);
}

to this:

for i of[1, 2] {
    console.log(i);
}

It gets rid of the space between the of operator and the array literal. Is this intentional? If not, could this be caused by not recognising of as a keyword or something?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ramonsancommented, Oct 11, 2016

Here is the spec of for of, and here is the MDN entry.

0reactions
bitwisemancommented, Dec 26, 2016

See #875.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Let X=ABC+BCA+CAB.Evaluate X for 1.A=1,B=0,C=1 2.A=B ...
Click here to get an answer to your question ✍️ Let X = A B C + B C A + C...
Read more >
Solve x=a-b-c - Microsoft Math Solver
Solve your math problems using our free math solver with step-by-step solutions. Our math solver supports basic math, pre-algebra, algebra, trigonometry, ...
Read more >
Answered: Let x = {a,b,c} and y= {1,2,3,4}. Which… | bartleby
Solution for Let x = {a,b,c} and y= {1,2,3,4}. Which of the relations a, b and c defined below are functions from x...
Read more >
Let X = ABC + BCA + CAB. Evaluate X fora A =1, B =0 ... - Byju's
Let X = ABC + BCA + CAB. Evaluate X fora A =1, B =0, C =1,b A = B = C =1,...
Read more >
Solved Let X = {a,b,c} and S = {a,b}. Then 1. σ(S) = S. 2. - Chegg
Answer to Solved Let X = {a,b,c} and S = {a,b}. Then 1. σ(S) = S. 2.
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