This website requires JavaScript.
Explore
Help
Sign In
vitalif
/
prettier
Watch
1
Star
0
Fork
You've already forked prettier
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
db0f2ee428
prettier
/
tests
/
for
/
var.js
2 lines
29 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Fix missing semi-colon in for loop and var body (#388) We avoid adding a `;` for a variable declaration in for loop but this is only meant if the var declaration is inside of the `()` part of the for loop. Not if the body part. Fixes #385
2017-01-22 23:34:14 +03:00
for
(
a
in
b
)
var
c
=
{
}
;
[
]
;