This website requires JavaScript.
Explore
Help
Sign In
vitalif-js
/
prettier
Watch
1
Star
0
Fork
You've already forked prettier
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
9cc5d4f162
prettier
/
tests
/
for
/
for.js
6 lines
89 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Do not put spaces on empty for loop (#169) ```js for (;;) { ``` instead of ```js for (; ; ) { ```
2017-01-13 21:00:32 +03:00
for
(
;
;
)
{
}
for
(
var
i
=
0
;
i
<
10
;
++
i
)
{
}
Put loop bodies on the same line when possible (#1498)
2017-05-04 01:50:48 +03:00
for
(
;
;
)
0
;
for
(
var
i
=
0
;
i
<
10
;
++
i
)
0
;