You need to enable JavaScript to run this app.
🐊
Putout Editor
v1.17.0
Transform
Source
AST
Cooked
9
1
2
3
4
5
6
7
›
⌄
// https://git.io/JqcMn
export
const
report
= () =>
`Use 'if condition' instead of 'ternary expression'`
;
export
const
replace
= () => ({
'__a ? __b : __c'
:
'if (__a) __b; else __c;'
});