Skip to content

Instantly share code, notes, and snippets.

View gist:9279034
function f1() { return @("hello"); }
function f2() { return @("hello", "world"); }
$a = @(f1);
write-host $a.Length # prints 1
$a = @(f2);
write-host $a.Length # prints 2