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
/
update_expression
/
update_expression.js
5 lines
84 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Fix parenthesis for UpdateExpression (#198) ```js (this.x++).toString() ``` no longer drops the parenthesis
2017-01-15 07:37:57 +03:00
(
this
.
x
++
)
.
toString
(
)
Fix some parens cases for UpdateExpressions (#381)
2017-01-22 07:14:22 +03:00
new
(
r
++
)
;
(
x
++
)
(
)
;
Fix extra parens for update expressions (#796) * Remove parens around UpdateExpression when parent is CallExpression. * Add new test case.
2017-02-23 22:54:06 +03:00
const
uuid
=
String
(
this
.
_uuidCounter
++
)
;