我需要一點幫助。我怎樣才能更正確地編寫這段代碼?function myFunc(performCheck = true) { if (performCheck) { if (b === a) { mySecondMethod(); } } else { mySecondMethod(); }}
有條件地執行或不執行包裝,如果
溫溫醬
2023-03-24 13:36:52