Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function f1() { return @("hello"); }
function f2() { return @("hello", "world"); }
$a = f1;
write-host $a.Length # prints 5
$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