mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-12-19 06:58:15 +08:00
Complying with JavaScript Standard Style (npx standard --fix).
This commit is contained in:
@@ -18,7 +18,7 @@ const swap = (arr, i, j) => {
|
||||
}
|
||||
|
||||
const permutations = arr => {
|
||||
let P = []
|
||||
const P = []
|
||||
const permute = (arr, low, high) => {
|
||||
if (low === high) {
|
||||
P.push([...arr])
|
||||
|
||||
Reference in New Issue
Block a user