码:
$arr=@() if($arr -ne $null){"NE"} else{"E"} if($null -ne $arr){"NE"} else{"E"}
输出:
E NE
这怎么可能 ?
powershell
powershell ×1