prettier/tests/conditional/no-confusing-arrow.js

4 lines
70 B
JavaScript

// no-confusing-arrow
var x = a => 1 ? 2 : 3;
var x = a <= 1 ? 2 : 3;