Javascript Function Get All Possible Subset With A Fixed Length

Javascript Function Get All Possible Subset With A Fixed Length