This uses generator functions to generate permutations on demand.
The typescript is the original, the js version is just the compiled typescript.
class Wren { | |
construct new() { | |
var a = 0 | |
_list = [1,2,3].map{|i| | |
a = a + 1 | |
return a | |
} | |
} | |
printList() { |
@echo off | |
IF "%1" == "" ( | |
echo %cd% >> %userprofile%\_k | |
) ELSE ( | |
IF "%1" == "ls" ( | |
type %userprofile%\_k | |
exit /B | |
) |
This uses generator functions to generate permutations on demand.
The typescript is the original, the js version is just the compiled typescript.