Files
test-repo/tests/format/js/if/condition-break/unary-expression.js
T
2025-12-06 14:39:00 +08:00

98 lines
2.6 KiB
JavaScript

if (!(
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference"));
while (!(
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference"));
do {} while (!(
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference"));
if (!!(
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference"));
if(typeof (
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference"));
if ( // comment
!!(
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference"));
if (! // comment
!(
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference"));
if (!! // comment
(
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference"));
if(1){
//
}else {if(! (
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference")) do {
//
} while (! (
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference")) else if (! (
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference")) while (! (
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference")) {
//
}}
if(2){
//
}else {if( (
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference")) do {
//
} while ( (
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference")) else if ( (
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference")) while ( (
node.type === "ImportExpression" ||
node.type === "TSImportType" ||
node.type === "TSExternalModuleReference")) {
//
}}
if ((
node.type === "ImportExpression" &&
node.type === "TSImportType" &&
node.type === "TSExternalModuleReference") || !(
node.type === "ImportExpression" &&
node.type === "TSImportType" &&
node.type === "TSExternalModuleReference")) {}else if (!(
node.type === "ImportExpression" &&
node.type === "TSImportType" &&
node.type === "TSExternalModuleReference") || (
node.type === "ImportExpression" &&
node.type === "TSImportType" &&
node.type === "TSExternalModuleReference")){}