Skip to content

Instantly share code, notes, and snippets.

@Ark-kun
Forked from jaredpar/gist:9278669
Last active Aug 29, 2015
Embed
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