* fix: hoist variable declaration within do block * test: add input for variable-declaration-start * test: actually write a test for this issue * make prettier happy
5 lines
42 B
JavaScript
5 lines
42 B
JavaScript
var x = do {
|
|
var bar = "foo";
|
|
bar;
|
|
};
|