Combine Numbers from Range

# Introduction In this challenge, we will be working with a function called `combine` that takes two integers `n` and `k` as input. The purpose of this function is to return all possible combinations of `k` numbers from the range `[1, n]`. The combinations can be returned in any order. The function should be implemented in a file called `combine.js` and exported as a module.

|60 : 00

Click the virtual machine below to start practicing