Exercises/Advanced/adv-closure-counter/stub.ps1
|
function New-Counter { param( [int]$Start = 0, [int]$Step = 1 ) # TODO: return a scriptblock that yields Start, Start+Step, ... with its own state throw 'Not implemented' } |