mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-12-19 06:58:15 +08:00
Remove live code & console.log, leave examples as comments.
This commit is contained in:
@@ -22,7 +22,6 @@ const permutations = arr => {
|
||||
const permute = (arr, low, high) => {
|
||||
if (low === high) {
|
||||
P.push([...arr])
|
||||
// console.log(arr.join(' '))
|
||||
return P
|
||||
}
|
||||
for (let i = low; i <= high; i++) {
|
||||
|
||||
Reference in New Issue
Block a user