babel-plugin-transform-ternary-to-if-else
babel
loading...
plugin
loading...
code
idle
Click to transform
Input
var a = a1 ? a2 : a3;
output