mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
[powershell/en] Fixed typo variable name (#5044)
This commit is contained in:
parent
555e655749
commit
f1c0815916
@ -126,7 +126,7 @@ $a = (1,2,3,4)
|
||||
$b = $a # => Point b at what a is pointing to
|
||||
$b -is $a.GetType() # => True, a and b equal same type
|
||||
$b -eq $a # => None! See below
|
||||
[System.Collections.Hashtable]$b = @{} # => Point a at a new hash table
|
||||
[System.Collections.Hashtable]$b = @{} # => Point b at a new hash table
|
||||
$b = @{'one' = 1
|
||||
'two' = 2}
|
||||
$b -is $a.GetType() # => False, a and b types not equal
|
||||
|
Loading…
Reference in New Issue
Block a user