Use ?. where it represents the intended semantics (#11512)
This commit is contained in:
@@ -127,7 +127,7 @@ function isInLoop(path) {
|
||||
path => path.isLoop() || path.isFunction(),
|
||||
);
|
||||
|
||||
return loopOrFunctionParent && loopOrFunctionParent.isLoop();
|
||||
return loopOrFunctionParent?.isLoop();
|
||||
}
|
||||
|
||||
function convertBlockScopedToVar(
|
||||
|
||||
Reference in New Issue
Block a user