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
11d7213862
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
++
)
;