prettier/tests/flow/path/while.js

7 lines
122 B
JavaScript

var x = 1;
while(typeof x == "number" || typeof x == "string") {
x = x + 1;
if (true) x = "";
}
var z:number = x;