summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDivay Prakash <divayprakash@users.noreply.github.com>2018-11-16 17:23:23 +0530
committerGitHub <noreply@github.com>2018-11-16 17:23:23 +0530
commitbe6f76529eeac4a335d64f2ce515951e67400bfc (patch)
treee66b6c1ae5b228735817e09507667eefa758d3e1
parent6fe978ff4ef8ca9b84c94dcb9bc98cca238fc961 (diff)
parentd7cd776eee4b6d3187ffa50d7d3b2c243885adc5 (diff)
Merge pull request #3389 from superyyrrzz/patch-1
[powershell/en] add list syntax example
-rw-r--r--powershell.html.markdown1
1 files changed, 1 insertions, 0 deletions
diff --git a/powershell.html.markdown b/powershell.html.markdown
index 5a5050b4..f9c20607 100644
--- a/powershell.html.markdown
+++ b/powershell.html.markdown
@@ -68,6 +68,7 @@ $aString="Some string"
# Or like this:
$aNumber = 5 -as [double]
$aList = 1,2,3,4,5
+$anEmptyList = @()
$aString = $aList -join '--' # yes, -split exists also
$aHashtable = @{name1='val1'; name2='val2'}