Skip to content

Instantly share code, notes, and snippets.

Forked from jaredpar/gist:9278669
Last active August 29, 2015 13:56
What would you like to do?
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment